Skip to main content

Posts

Showing posts with the label AWS

How to add EBS volume to Linux machine in AWS

1.      Login to AWS console 2.      Create 50 GB volume 3.      Attach to the Linux instance 4.      Login to the Linux server 5.      After completing above step, now new volume will list your system. You can check this using ‘ fdisk -l ‘ command 6.      Create a File system to newly added EBS volume with below command (In my case new disk      is:/xvdj) mkfs /dev/xvdj 7.      Make a directory with below command (In my case directory name is "mountdriveE") mkdir /mountdriveE 8.      Mount this disk to mount point with below command mount /dev/xvdj /mountdriveE 9.      Add below entry at the end of file  /etc/fstab  for permanent /dev/xvdj    /mountdriveE  ext4    defaults        1 1

Embedding IAM roles in EC2 instances

http://searchaws.techtarget.com/tip/Embedding-IAM-roles-in-EC2-instances Many enterprises know that turning off unused AWS instances can save money. But not all IT pros know which method is best and how to set it up. There are a few ways to turn off unused Amazon Web Services (AWS) Elastic Compute Cloud (EC2) instances. If you don't use Auto Scaling, you will need to configure this process manually. One method is to use command-line interface (CLI) tools ec2-start-instances and ec2-stop-instances on Linux, using either a role-based method or an identity access management user-credential method. Setting up role-based security enables you to associate AWS identity and access management (IAM) roles with the instance, without having to manually add plain-text security credentials. This not only improves security, but is easier to manage. Identify an instance that will perform CLI start and stop scripts, or create a dedicated micro-instance to perform these maintenance tasks. IA...

Installing Nagios 4 on Ubuntu 14 04 LTS

Configuring A NAT Instance in AWS VPC

Remote desktop session is getting frequently disconnected in VPC Public subnet

Below are a list of possibly reasons this could be happening: Influx of ingress and egress traffic could overwhelm the network card -Extended CPU load could overwhelm the system -Windows updates are missing I recommend is to create another Network Interface for your instance for the sole purpose of Remote Desktop Connections -- use the other Network Interface for normal web traffic, this may help reduce the load. 1. Create an Elastic IP 2. Create a Network Interface (for RDP) with the same Subnet ID and VPC ID of your instance 3. Associate the Elastic IP with your new Network Interface 4. Assign the new Network Interface to your instance 5. Reboot 6. Use the Elastic IP for RDP connections only (Make sure security groups are correct)

Autoscalling Windows servers in AWS

Steps for using the Amazon Command Line Tools: Pre-requisites All of the steps below can be skipped if you use EZAutoScaling. Download the command line tools for Auto Scaling Download the command line tools for CloudWatch Set up Auto Scaling command line Set up CloudWatch command line Create new Launch Configuration Create new Auto Scaling Group Create per region Create CloudWatch monitor to increase servers Create CloudWatch monitor to decrease servers Set Desired Capacity after creation Monitoring your Auto Scaling Froups Monitoring your Instances' health Delete Auto Scaling Groups and Launch Configurations Pre-requisites You need to know which Amazon region (e.g. 'US East (N. Virginia)' or 'us-east-1') you want to set up your Auto Scaling in. You need to have an AMI set up in that region. The AMI will be the image that will be used for each new instance in your Auto Scaling group. You need to have a load balancer created in that region....

AWS Certification Q&A

The AWS Certified Solutions Architect – Associate Level exam is intended for individuals with experience designing distributed applications and systems on the AWS platform. I am listing many sample certification questions and answers while will help to face the certification successfully Keep in mind that the answers for each question might change due to the advancement of AWS and please try to find the answer in more logical manner Answers are below of the page Sample Questions for Amazon Web Services Associate Solutions Architect Certification What does Amazon S3 stand for? A Simple Storage Solution. B Storage Storage Storage (triple redundancy Storage). C Storage Server Solution. D Simple Storage Service. You must assign each server to at least _____ security group A 3 B 2 C 4 D 1 - Before I delete an EBS volume, what can I do if I want to recreate the volume later? A Create a copy of the EBS volume (not a snapshot) B Store a snapshot of the volume C Downlo...