You have been asked to deploy a clustered application on a small number of EC2 instances. The application must be placed across multiple Availability Zones, have high speed, low latency communication between each of the nodes, and should also minimize the chance of underlying hardware failure. How can we provide this solution?
Deploy the EC2 servers in a Spread Placement Group.
Spread Placement groups are recommended for applications that have a small number of critical instance which need to be kept separate from each other. Launching instances in a Spread Placement group reduces the risk of simultaneous failures that might occur when instances share the same underlying hardware. Spread Placement groups provide access to distinct hardware, and are therefore suitable for mixing instance types or launching instances over time.
What are the 2 types of storage that can be attached to an EC2 instance?
What are the three Placement Groups for EC2?
Can an EC2 instance belong to more than one Placement Group at the time?
No.
When are User data and Shell scripts run on a EC2?
By default, user data scripts and shell scripts are only run during the boot cycle when you first launch an instance.
- You can change the configuration to ensure that you user data scripts and cloud-init directives run every time you restart your instant.
Your Auto Scaling group terminates one of your EC2 instances, what could be the reason?
The Health Check status for the instance might have been marked as unhealthy.
Is there anything in particular that you should think of when you launch EC2 instances to a Cluster Placement Group?
What pricing options exists for EC2?
Which are the EC2 instance types?
FIGHT DR MC PX
List the different EBS Volume Types.
You have just added a new role to your EC2 instance, do you need to restart the instance for the role to start working?