As part of my learning journey in Cloud Computing and AWS, I recently completed the Introduction to Amazon EC2 hands-on lab through AWS Skill Builder.
This lab provided me with practical experience in launching, configuring, monitoring, and managing a virtual server in the AWS Cloud.
What is Amazon EC2?
Amazon EC2 (Elastic Compute Cloud) is an AWS service that provides resizable computing capacity in the cloud. It allows users to create and manage virtual servers, known as EC2 instances, without having to purchase or maintain physical hardware.
What I Learned Through the Lab
During this hands-on lab, I learned how to:
Launch an EC2 instance
Select an Amazon Machine Image (AMI)
Choose an appropriate Instance Type
Configure a Key Pair
Configure a Security Group
Monitor the health and status of an instance
Access a web server using HTTP traffic
Modify the instance type and EBS volume
Understand the different EC2 instance states
Terminate an EC2 instance
Key Concepts
1.Amazon Machine Image (AMI)
An AMI is a template used to launch an EC2 instance. It contains the operating system and other configurations required to start the instance.
2.Instance Type
The instance type determines the computing resources available to an EC2 instance, such as CPU, memory, and network performance.
3.Key Pair
A key pair is used for secure authentication and access to an EC2 instance. It consists of a public key and a private key.
4.Security Groups
A Security Group acts as a virtual firewall for an EC2 instance. It controls inbound and outbound network traffic.
For example, I learned how HTTP traffic can be allowed through Port 80 to access a web server.
5.Amazon EBS
Amazon Elastic Block Store (EBS) provides persistent storage for EC2 instances. I learned how the storage volume can be modified according to the requirements of an instance.
Understanding the EC2 Instance Lifecycle
During the lab, I also learned about the different states of an EC2 instance:
Running – The instance is active and running.
Stopped – he instance is temporarily shut down, so compute charges for the EC2 instance stop. However, attached Amazon EBS volumes continue to incur storage charges as long as they exist. Therefore, stopping an EC2 instance makes it cheaper, but it does not necessarily make all associated resources free.
Elastic IP- Elastic IP addresses may also incur charges depending on their usage and association status. Therefore, it is important to release unused Elastic IP addresses to avoid unnecessary costs.
Rebooted – The instance is restarted.
Terminated – The instance is permanently deleted.
Understanding these states is important for managing cloud resources efficiently.
My Hands-on Experience
The lab helped me understand the complete lifecycle of an EC2 instance. I started by launching and configuring an instance using an AMI, instance type, key pair, security group, and storage.
I then explored how to monitor the instance, configure security group rules, and access a web server. I also learned how computing resources and storage can be modified according to application requirements.
Finally, I terminated the instance, which helped me understand the importance of managing and cleaning up cloud resources after completing a task.
Key Takeaways
Through this hands-on experience, I learned that:
Amazon EC2 provides flexible and scalable computing capacity.
AMIs help in launching instances with a predefined operating system and configuration.
Instance types determine the computing power of an EC2 instance.
Security Groups help control network access.
EBS provides persistent storage for EC2 instances.
EC2 resources can be modified according to changing requirements.
Proper resource management is important when working with cloud services.
Conclusion
Completing the Introduction to Amazon EC2 lab on AWS Skill Builder was a valuable hands-on learning experience for me. It helped me connect the theoretical concepts of cloud computing with practical implementation.
This lab gave me a better understanding of how virtual servers are launched, configured, monitored, modified, and managed in the AWS Cloud.
I look forward to continuing my learning journey by exploring more AWS services and expanding my knowledge in Cloud Computing, AI/ML, and Generative AI.
Loading article