SlideShare a Scribd company logo
Creating and managing
Amazon EC2 instances.
Ch. Pradeep Sunny
N150238
E2-CSE-01
(Linux)
What is Amazon EC2?
Amazon Elastic Compute Cloud (Amazon EC2) is a web
service that provides secure, resizable compute capacity in
the cloud. It is designed to make web-scale cloud computing
easier for developers.
Benefits
● ELASTIC WEB-SCALE COMPUTING
● COMPLETELY CONTROLLED
● FLEXIBLE CLOUD HOSTING SERVICES
● INTEGRATED
● RELIABLE
● SECURE
● INEXPENSIVE
● EASY TO START
Source: https://aws.amazon.com/ec2
Steps involved:
1. Sign-up for AWS
2. Launch an Amazon EC2 Instance
a. Enter the Amazon EC2 Console
b. Launch an Instance
3. Configure your Instance
4. Connect to your Instance
5. Terminate Your Instance
Source:
https://aws.amazon.com/getting-started/tutorials/launch-a-virtual-machine/?trk=gs_card
1. Sign Up for AWS
https://aws.amazon.com/
Once you are signed in, you’ll be redirected to AWS Management Console.
2. Launch an Amazon EC2 Instance
a. Enter the Amazon EC2 Console
Type EC2 in the search bar and select Amazon EC2 to open the service console.
2 b. Launch an Instance
3. Configure your Instance
You are now in the EC2 Launch Instance Wizard, which will help you configure and
launch your instance.
In this screen, you are shown options to choose an Amazon Machine Image (AMI).
AMIs are preconfigured server templates you can use to launch an instance. Each
AMI includes an operating system, and can also include applications and application
servers.
Select an instance of your need.
b. You will now choose an instance type. Instance types comprise of varying combinations of CPU,
memory, storage, and networking capacity so you can choose the appropriate mix for your applications.
Select an instance type and click Next:Configure Instance Details at the bottom right of the page.
Configure your instance details and click Next: Add Storage at the bottom right corner of the page.
Add Storage and click Next: Add Tags
Add Tags: A tag is a label that you assign to an AWS resource. Each tag consists of a key and an optional
value, both of which you define.
Click Next: Configure Security Group.
Configure Security Group
Click Review and Launch
Review the settings and click Launch
Key Pair
On clicking Launch, you’ll see a prompt to select or create a key pair.
A key pair is used to securely access your Linux instance using SSH. AWS stores the public part of the key pair which is just like a house lock.
You download and use the private part of the key pair which is just like a house key.
Select Create a new key pair and give it a name of your choice. Next click the Download Key Pair button.
After you download the key, you will want to store your key in a secure location. If you lose your key, you won't be able to access your
instance. If someone else gets access to your key, they will be able to access your instance.
After you have stored your key pair, click Launch Instance to start your Linux instance.
In the next screen you’ll see the launch status of your instance. Scroll down and
click View Instances.
You’ll see something like this....
4. Connect to your instance
5. Terminate your instance
You can easily terminate the instance from the EC2 console. In fact, it is a best practice to terminate instances you are no longer using so you
don’t keep getting charged for them.
a. Back on the EC2 Console, select the box next to the instance you created. Then click the Actions button, navigate to Instance State, and
click Terminate.
b. You will be asked to confirm your termination - select Yes, Terminate.
Note: This process can take several seconds to complete. Once your instance has been terminated, the Instance State will change to
terminated on your EC2 Console.
A terminated instance
Congratulations
You have learned how to use Amazon EC2 to launch,
configure, connect, and terminate an instance in the cloud.
Thank you.

More Related Content

What's hot

How to encrypt emails
How to encrypt emailsHow to encrypt emails
How to encrypt emails
IJNet
 
Know How to Recover SQL Server SA Password
Know How to Recover SQL Server SA PasswordKnow How to Recover SQL Server SA Password
Know How to Recover SQL Server SA Password
jason_clark03
 
Jailbreak 101 4
Jailbreak 101 4Jailbreak 101 4
Jailbreak 101 4
Peter Kupfer
 
Step by step procedure to set up a
Step by step procedure to set up aStep by step procedure to set up a
Step by step procedure to set up a
Ruchiseo
 
Containerized App Development with AWS Fargate
Containerized App Development with AWS FargateContainerized App Development with AWS Fargate
Containerized App Development with AWS Fargate
Amazon Web Services
 
How to install SimVenture
How to install SimVentureHow to install SimVenture
How to install SimVenture
Zef Neemuchwala
 
5 EASY STEPS TO A MORE SECURE WORDPRESS
5 EASY STEPS TO A MORE SECURE WORDPRESS5 EASY STEPS TO A MORE SECURE WORDPRESS
5 EASY STEPS TO A MORE SECURE WORDPRESS
K Wayne Pettis
 
Unicef-LaptopTrustIssues
Unicef-LaptopTrustIssuesUnicef-LaptopTrustIssues
Unicef-LaptopTrustIssues
Matt R
 
Sql server 2008 r2 installation instructions
Sql server 2008 r2 installation instructionsSql server 2008 r2 installation instructions
Sql server 2008 r2 installation instructions
Copen Hagen
 

What's hot (9)

How to encrypt emails
How to encrypt emailsHow to encrypt emails
How to encrypt emails
 
Know How to Recover SQL Server SA Password
Know How to Recover SQL Server SA PasswordKnow How to Recover SQL Server SA Password
Know How to Recover SQL Server SA Password
 
Jailbreak 101 4
Jailbreak 101 4Jailbreak 101 4
Jailbreak 101 4
 
Step by step procedure to set up a
Step by step procedure to set up aStep by step procedure to set up a
Step by step procedure to set up a
 
Containerized App Development with AWS Fargate
Containerized App Development with AWS FargateContainerized App Development with AWS Fargate
Containerized App Development with AWS Fargate
 
How to install SimVenture
How to install SimVentureHow to install SimVenture
How to install SimVenture
 
5 EASY STEPS TO A MORE SECURE WORDPRESS
5 EASY STEPS TO A MORE SECURE WORDPRESS5 EASY STEPS TO A MORE SECURE WORDPRESS
5 EASY STEPS TO A MORE SECURE WORDPRESS
 
Unicef-LaptopTrustIssues
Unicef-LaptopTrustIssuesUnicef-LaptopTrustIssues
Unicef-LaptopTrustIssues
 
Sql server 2008 r2 installation instructions
Sql server 2008 r2 installation instructionsSql server 2008 r2 installation instructions
Sql server 2008 r2 installation instructions
 

Similar to Creating and managing amazon ec2 instances(linux)

AWS essentials EC2
AWS essentials EC2AWS essentials EC2
AWS essentials EC2
mustafa sarac
 
Aws project jenkins-build-server
Aws project jenkins-build-serverAws project jenkins-build-server
Aws project jenkins-build-server
saifam
 
Moving Drupal to the Cloud
Moving Drupal to the CloudMoving Drupal to the Cloud
Moving Drupal to the Cloud
Ari Davidow
 
Virtual server on aws
Virtual server on awsVirtual server on aws
Virtual server on aws
kamarul kawnayeen
 
Amazon cloudtutorial
Amazon cloudtutorialAmazon cloudtutorial
Amazon cloudtutorial
Chris Buenaventura
 
AWS
AWSAWS
How To Create EC2 instance Linux Server
How To Create EC2 instance Linux ServerHow To Create EC2 instance Linux Server
How To Create EC2 instance Linux Server
VCP Muthukrishna
 
docker.docx
docker.docxdocker.docx
docker.docx
ssuser97943d
 
sfdx continuous Integration with Jenkins on aws (Part I)
sfdx continuous Integration with Jenkins on aws (Part I)sfdx continuous Integration with Jenkins on aws (Part I)
sfdx continuous Integration with Jenkins on aws (Part I)
Jérémy Vial
 
Activity 9 Working with AWS CloudTrail.pdf
Activity 9 Working with AWS CloudTrail.pdfActivity 9 Working with AWS CloudTrail.pdf
Activity 9 Working with AWS CloudTrail.pdf
stirlingvwriters
 
Microsoft Azure,AWS Cloud services and it's use
Microsoft Azure,AWS Cloud services and it's useMicrosoft Azure,AWS Cloud services and it's use
Microsoft Azure,AWS Cloud services and it's use
Aslam Diwan
 
Basic introduction of Amazon Web Services (AWS)
Basic introduction of Amazon Web Services (AWS)Basic introduction of Amazon Web Services (AWS)
Basic introduction of Amazon Web Services (AWS)
One That Matters
 
AWS DataSync.pdf
AWS DataSync.pdfAWS DataSync.pdf
AWS DataSync.pdf
Manas Mondal
 
Presentation-1.pptx
Presentation-1.pptxPresentation-1.pptx
Presentation-1.pptx
sasanapurijahnavi
 
Presentation.pptx
Presentation.pptxPresentation.pptx
Presentation.pptx
Himabindu905359
 
Presentation.pptx
Presentation.pptxPresentation.pptx
Presentation.pptx
Himabindu905359
 
Aws public cloud deployment
Aws public cloud deploymentAws public cloud deployment
Aws public cloud deployment
SamHaokip
 
ESM 6.9.1 for AWS Setup Guide
ESM 6.9.1 for AWS Setup GuideESM 6.9.1 for AWS Setup Guide
ESM 6.9.1 for AWS Setup Guide
Protect724tk
 
[WordPress on AWS] AMIMOTO Hands-On Seminar
[WordPress on AWS] AMIMOTO Hands-On Seminar[WordPress on AWS] AMIMOTO Hands-On Seminar
[WordPress on AWS] AMIMOTO Hands-On Seminar
Hiromichi Koga
 
Get Started & Migrate Your Data to AWS (Thai Session)
Get Started & Migrate Your Data to AWS (Thai Session)Get Started & Migrate Your Data to AWS (Thai Session)
Get Started & Migrate Your Data to AWS (Thai Session)
Amazon Web Services
 

Similar to Creating and managing amazon ec2 instances(linux) (20)

AWS essentials EC2
AWS essentials EC2AWS essentials EC2
AWS essentials EC2
 
Aws project jenkins-build-server
Aws project jenkins-build-serverAws project jenkins-build-server
Aws project jenkins-build-server
 
Moving Drupal to the Cloud
Moving Drupal to the CloudMoving Drupal to the Cloud
Moving Drupal to the Cloud
 
Virtual server on aws
Virtual server on awsVirtual server on aws
Virtual server on aws
 
Amazon cloudtutorial
Amazon cloudtutorialAmazon cloudtutorial
Amazon cloudtutorial
 
AWS
AWSAWS
AWS
 
How To Create EC2 instance Linux Server
How To Create EC2 instance Linux ServerHow To Create EC2 instance Linux Server
How To Create EC2 instance Linux Server
 
docker.docx
docker.docxdocker.docx
docker.docx
 
sfdx continuous Integration with Jenkins on aws (Part I)
sfdx continuous Integration with Jenkins on aws (Part I)sfdx continuous Integration with Jenkins on aws (Part I)
sfdx continuous Integration with Jenkins on aws (Part I)
 
Activity 9 Working with AWS CloudTrail.pdf
Activity 9 Working with AWS CloudTrail.pdfActivity 9 Working with AWS CloudTrail.pdf
Activity 9 Working with AWS CloudTrail.pdf
 
Microsoft Azure,AWS Cloud services and it's use
Microsoft Azure,AWS Cloud services and it's useMicrosoft Azure,AWS Cloud services and it's use
Microsoft Azure,AWS Cloud services and it's use
 
Basic introduction of Amazon Web Services (AWS)
Basic introduction of Amazon Web Services (AWS)Basic introduction of Amazon Web Services (AWS)
Basic introduction of Amazon Web Services (AWS)
 
AWS DataSync.pdf
AWS DataSync.pdfAWS DataSync.pdf
AWS DataSync.pdf
 
Presentation-1.pptx
Presentation-1.pptxPresentation-1.pptx
Presentation-1.pptx
 
Presentation.pptx
Presentation.pptxPresentation.pptx
Presentation.pptx
 
Presentation.pptx
Presentation.pptxPresentation.pptx
Presentation.pptx
 
Aws public cloud deployment
Aws public cloud deploymentAws public cloud deployment
Aws public cloud deployment
 
ESM 6.9.1 for AWS Setup Guide
ESM 6.9.1 for AWS Setup GuideESM 6.9.1 for AWS Setup Guide
ESM 6.9.1 for AWS Setup Guide
 
[WordPress on AWS] AMIMOTO Hands-On Seminar
[WordPress on AWS] AMIMOTO Hands-On Seminar[WordPress on AWS] AMIMOTO Hands-On Seminar
[WordPress on AWS] AMIMOTO Hands-On Seminar
 
Get Started & Migrate Your Data to AWS (Thai Session)
Get Started & Migrate Your Data to AWS (Thai Session)Get Started & Migrate Your Data to AWS (Thai Session)
Get Started & Migrate Your Data to AWS (Thai Session)
 

Recently uploaded

Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStrDeep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
saastr
 
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Tatiana Kojar
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Operating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptxOperating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptx
Pravash Chandra Das
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
Hiike
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
Intelisync
 

Recently uploaded (20)

Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStrDeep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
 
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Operating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptxOperating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptx
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
 

Creating and managing amazon ec2 instances(linux)

  • 1. Creating and managing Amazon EC2 instances. Ch. Pradeep Sunny N150238 E2-CSE-01 (Linux)
  • 2. What is Amazon EC2? Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud. It is designed to make web-scale cloud computing easier for developers.
  • 3. Benefits ● ELASTIC WEB-SCALE COMPUTING ● COMPLETELY CONTROLLED ● FLEXIBLE CLOUD HOSTING SERVICES ● INTEGRATED ● RELIABLE ● SECURE ● INEXPENSIVE ● EASY TO START Source: https://aws.amazon.com/ec2
  • 4. Steps involved: 1. Sign-up for AWS 2. Launch an Amazon EC2 Instance a. Enter the Amazon EC2 Console b. Launch an Instance 3. Configure your Instance 4. Connect to your Instance 5. Terminate Your Instance Source: https://aws.amazon.com/getting-started/tutorials/launch-a-virtual-machine/?trk=gs_card
  • 5. 1. Sign Up for AWS https://aws.amazon.com/ Once you are signed in, you’ll be redirected to AWS Management Console.
  • 6. 2. Launch an Amazon EC2 Instance a. Enter the Amazon EC2 Console Type EC2 in the search bar and select Amazon EC2 to open the service console.
  • 7. 2 b. Launch an Instance
  • 8. 3. Configure your Instance You are now in the EC2 Launch Instance Wizard, which will help you configure and launch your instance. In this screen, you are shown options to choose an Amazon Machine Image (AMI). AMIs are preconfigured server templates you can use to launch an instance. Each AMI includes an operating system, and can also include applications and application servers. Select an instance of your need.
  • 9.
  • 10. b. You will now choose an instance type. Instance types comprise of varying combinations of CPU, memory, storage, and networking capacity so you can choose the appropriate mix for your applications. Select an instance type and click Next:Configure Instance Details at the bottom right of the page.
  • 11. Configure your instance details and click Next: Add Storage at the bottom right corner of the page.
  • 12. Add Storage and click Next: Add Tags
  • 13. Add Tags: A tag is a label that you assign to an AWS resource. Each tag consists of a key and an optional value, both of which you define. Click Next: Configure Security Group.
  • 14. Configure Security Group Click Review and Launch
  • 15. Review the settings and click Launch
  • 16. Key Pair On clicking Launch, you’ll see a prompt to select or create a key pair. A key pair is used to securely access your Linux instance using SSH. AWS stores the public part of the key pair which is just like a house lock. You download and use the private part of the key pair which is just like a house key. Select Create a new key pair and give it a name of your choice. Next click the Download Key Pair button. After you download the key, you will want to store your key in a secure location. If you lose your key, you won't be able to access your instance. If someone else gets access to your key, they will be able to access your instance. After you have stored your key pair, click Launch Instance to start your Linux instance.
  • 17. In the next screen you’ll see the launch status of your instance. Scroll down and click View Instances.
  • 18. You’ll see something like this....
  • 19. 4. Connect to your instance
  • 20.
  • 21. 5. Terminate your instance You can easily terminate the instance from the EC2 console. In fact, it is a best practice to terminate instances you are no longer using so you don’t keep getting charged for them. a. Back on the EC2 Console, select the box next to the instance you created. Then click the Actions button, navigate to Instance State, and click Terminate.
  • 22. b. You will be asked to confirm your termination - select Yes, Terminate. Note: This process can take several seconds to complete. Once your instance has been terminated, the Instance State will change to terminated on your EC2 Console.
  • 24. Congratulations You have learned how to use Amazon EC2 to launch, configure, connect, and terminate an instance in the cloud.