How to access AWS EC2?
EC2 Access explained which is applied for Exam Management Software.
Need Access Key.
Private keys can be downloaded once only. Once forgotten need to create a new access key.
The public Key is on AWS.
Allows programmatic access.
Key pairs can be used for Remote Desktop, SSH and others.
20 Soft limits for EC2 per Region
One can submit to AWS for more than EC2 for corporate accounts.
The status check is performed every minute on any running EC2 instance to identify issues with the EC2.
The status check is inherently built into EC2.
The status check cannot be alterable or deleted.
EC2 service sends status data to the AWS CloudWatch every 5 minutes. Not Chargeable. Online Test Maker needs to turn on the cloud watch facility for continuously monitoring tests.
Matrix data other than 5 minutes like every 30 seconds is chargeable.
Monitoring is chargeable and enabled by default.
EC2 in a non-running state is not chargeable.
EBS volume attach is chargeable and treated as a separate entity.
EC2 terminated status then even EBS is not chargeable
EBS backed EC2 instance (ROOT Volume is EBS backed).
Instance stored backed EC2 (Root volume is EC2 Instance backed).
What happens when you STOP EBS backed EC2 Instance?
Please note ROOT Volume is EBS. (Network-attached storage)
The instance shutdown process is executed.
State changes from Running -> Stopping
EBS volume remains attached.
Cache data disappears.
Instances retain its private IPv4 or IPv6 addresses.
Instances release public IPv4 or IPv6 addresses.
Instances retain its Elastic IP addresses.
What happens when you TERMINATE EBS backed EC2 Instance?
Status changes from Running -> Shutdown -> Terminated
By default, EBS root volumes are deleted automatically.
Any additional non-bootable devices persist data when EC2 is terminated. It does not get deleted.
“Delete on Termination” allows changing behavior.
For safety reason, you can Enable “EC2 Terminal Protection” for protection.
What is EC2 Metadata?
Allows managing EC2.
IPv4, IPv6, DNS configuration, AMI ID.
Public Keys, Security Group.
EC2 Instance type.
EC2 internal data can only be viewed within EC2 instance, login is required.
EC2 metadata is not encrypted.
What is EC2 Bare Metal Instances?
- Non-Virtual Environment.
- Runs directly on hardware.
- Used for tier-1 business-critical applications.
- Licensing Restrictions type applications. Assessment Management Software needs secure control where this type of instance can be applied.
Elastic Block Storage (Network Attached Storage)
EBS Backed Instance
Can be shifted from one AZ to other AZ (snapshot shiftable)
EBS volumes get deleted by default when the EC2 instance is terminated.
If EBS is detached then it will not be deleted. Used for Assessment Software.
Physically attached to the Host (EC2 Instance)
Faster than EBS.
Data is lost when the EC2 instance is deleted.
Cannot attach or detach to another EC2 instance.
When an EC2 instance is STOPPED or TERMINATED data is lost.
Rebooting does not loose data.
Not suitable for long term retention.
Please get in touch with us to find out how it is being used for Online Test Software.