What Is Ec2 ? Key feature ? Real-time-example? Benefit? and Steps to create an EC2?

What Is Ec2 ? Key feature ? Real-time-example? Benefit? and Steps to create an EC2?

ยท

3 min read

Day 01 of #25Days25AWSServices

So we start from the Amazon EC2 (Amazon Elastic Compute Cloud)Amazon Elastic Compute Cloud (EC2) Overview:

๐Ÿš€ ๐–๐ก๐š๐ญ ๐ข๐ฌ ๐ข๐ญ?

EC2 is a web service provided by Amazon Web Services (AWS) that offers ๐ซ๐ž๐ฌ๐ข๐ณ๐š๐›๐ฅ๐ž compute capacity in the cloud.

๐Ÿ’ป ๐Š๐ž๐ฒ ๐…๐ž๐š๐ญ๐ฎ๐ซ๐ž๐ฌ:

๐’๐œ๐š๐ฅ๐š๐›๐ข๐ฅ๐ข๐ญ๐ฒ: Scale compute resources up or down based on demand.

๐…๐ฅ๐ž๐ฑ๐ข๐›๐ข๐ฅ๐ข๐ญ๐ฒ: Choose from various instance types, operating systems, and software packages.

๐„๐ฅ๐š๐ฌ๐ญ๐ข๐œ๐ข๐ญ๐ฒ: Automatically adjust capacity to handle fluctuating workloads.

๐’๐ž๐œ๐ฎ๐ซ๐ข๐ญ๐ฒ: Utilize AWS security features like VPCs, security groups, and IAM roles.

๐Ÿ”ง ๐‘๐ž๐š๐ฅ-๐ญ๐ข๐ฆ๐ž ๐„๐ฑ๐š๐ฆ๐ฉ๐ฅ๐ž:

๐’๐œ๐ž๐ง๐š๐ซ๐ข๐จ: A popular e-commerce website experiences a sudden surge in traffic due to a flash sale.

๐’๐จ๐ฅ๐ฎ๐ญ๐ข๐จ๐ง: The DevOps team uses EC2 to quickly spin up additional instances to handle the increased load.

๐‘๐ž๐ฌ๐ฎ๐ฅ๐ญ: The website maintains performance and availability during peak traffic without downtime or performance issues.

๐Ÿ”— ๐ˆ๐ง๐ญ๐ž๐ ๐ซ๐š๐ญ๐ข๐จ๐ง:

Seamlessly integrates with other AWS services like Elastic Load Balancing (ELB), Auto Scaling, and Amazon RDS for comprehensive infrastructure management.

๐Ÿ“ˆ ๐๐ž๐ง๐ž๐Ÿ๐ข๐ญ๐ฌ:

๐‚๐จ๐ฌ๐ญ-๐„๐Ÿ๐Ÿ๐ข๐œ๐ข๐ž๐ง๐œ๐ฒ: Pay only for the resources you use with per-hour billing.

๐‘๐ž๐ฅ๐ข๐š๐›๐ข๐ฅ๐ข๐ญ๐ฒ: EC2 instances are housed in multiple availability zones for high availability and fault tolerance.

๐„๐š๐ฌ๐ž ๐จ๐Ÿ ๐”๐ฌ๐ž: Simple API and management console make provisioning and managing instances straightforward.

๐Ÿ’ก ๐‚๐จ๐ง๐œ๐ฅ๐ฎ๐ฌ๐ข๐จ๐ง:

Amazon EC2 empowers DevOps teams to build robust, scalable, and flexible cloud infrastructures to support a wide range of applications and workloads.

To create an EC2 instance on AWS, you can follow these steps:

Sign in to AWS Management Console: Go to the AWS Management Console and sign in to your AWS account.

After Sign In you will land on this page

Navigate to EC2 Dashboard: Once logged in, navigate to the EC2 dashboard by selecting "EC2" from the list of services.

Launch Instance: Click on the "Launch Instance" button to begin the process of creating a new EC2 instance.

Provide the Name to your VM ex- Param_DevOps

Choose an Amazon Machine Image (AMI): Select an AMI from the provided list. You can choose from various operating systems and pre-configured software options.
I'm going with Amazon linux

Choose an Instance Type: Select the instance type based on your requirements for CPU, memory, storage, and networking capacity
I'm preferring t2.micro which is free

Select Key Pair: Choose an existing key pair or create a new one to securely connect to your instance using SSH or RDP.

Configure Security Group: Define security groups to control inbound and outbound traffic to your instance by specifying rules.

Add Storage: Specify the storage options for your instance, including the size and type of the root volume. till 30GiB its free

Then Launch Instance: Finally, click on the "Launch Instances" button to create your EC2 instance.

Access Your Instance: Once the instance is launched, you can access it using SSH (for Linux instances) or Remote Desktop Protocol (RDP) (for Windows instances) using the appropriate credentials and security configurations.

Now go to instances in left side panel and there you will the our launched instance is up and running

Now select the launched instance and we'll get a connect option at the top

Now click on connect

Now finally we can access our launched ec2
so now we can use it

Thank you for more please connect and follow

linkedin

ย