Most AWS resources are billed in hours, which provides good flexibility. For example, taking the EC2 instance we just created, there are two ways to put it out of service: stop and terminate. Both actions will stop the billing. The difference is that by stopping an instance, we can re-s...
One way to get a fast disk cache on an EC2 instance is to attach the local instance stores. You can use a RAID-0 setup to use multiple instance stores as a single large disk cache. This article describes the steps to RAID multiple EC2 instance stores for disk cache. If your EC2 ...
As when backing up an EBS volume, you also usually need to stop your EC2 instance before creating a new AMI. There are exceptions to this rule; for example, when you use a file system such as XFS, which can be “frozen” in order to create backups, you do not need to stop the ...
If the new instances stay healthy and finish their warmup period, Amazon EC2 Auto Scaling can continue to replace other instances. An instance refresh can replace instances one at a time, several at a time, or all at once. To replace one instance at a time, set both the minimum and ...
In this post I’m going to show what could be considered a “hello world” of Ansible + AWS, using Ansible to launch an EC2 instance. Aside from the time required to set up an AWS account and install Ansible, you should be able to get your EC2 instance running in 20 minutes or less...
Amazon EC2 is free for the first one year when you use micro instance only. While launching EC2 Instance you have an option to choose the availability zones / physical location. Ec2 also has EBS – Elastic block storage for persistent data storage. ...
You know how toStart an EC2 Instance You have aAWS Security Groupthat allows the** TCP port 3389** for** RDP(Remote Desktop Protocol)** You are on aWindowsdesktop OS First off, you’re going to want to start a Windows instance of your choice via theAWS Management Console.As soon as...
Primary Usernames for EC2 Instances: I wish someone told me this when I first started playing with AWS. You’ll find these type of treasures hidden in Q&A threads, but not in any easy to understand guide in AWS documentation. Depending on the type of EC2 instance you have setup, below ...
We use a CloudFormation stack (1) to create the components shown. When everything is up and running, we have an EC2 instance running a CloudWatch Logs agent (2). The agent routes the configured logs to a CloudWatch Logs log group (3). A Lambda ...
The client running on the EC2 instance must have proxy settings pointing toward the Network Load Balancer. The load balancer will forward the request to the fleet of proxies in the target group. Prerequisites You need an already deployed VPC, with public and private subnets sp...