Giter Club home page Giter Club logo

aws-ec2's Introduction

AWS-EC2



Struggling to create an EC2 instance? In this repository, I will guide you to create an EC2 instance within 4 seconds. The only prerequisite is to have an AWS account. If you don't have one, create an account using the AWS Free Tier: https://docs.aws.amazon.com/SetUp/latest/UserGuide/setup-AWSsignup.html.



Remember, EC2 instances are region-specific. This means that when you launch an EC2 instance, you need to select the AWS region in which it will be created. Each AWS region is a separate geographic area, and resources, including EC2 instances, are confined to the region where they are launched.



In the Search Box Type "EC2"




Screenshot from 2024-01-13 09-53-09




With the Centralized EC2 Dashboard, we can obtain details of the EC2 Service




Screenshot from 2024-01-13 09-53-28

Click the Launch Instance Icon to Launch an instance




Screenshot from 2024-01-13 09-53-49


Name your instance and choose the operating system that you want your instance to use. The best part when using an EC2 instance is you don't need to install the operating system, instead manually, it is already pre-configured by AWS in the form of AMI(Amazon Machine Image), you can also create your own AMI.




Screenshot from 2024-01-13 09-54-27


When you Use AWS free-tier there is a restriction in choosing AMI, for free-tier you have the option to use Amazon Linux from AWS




Screenshot from 2024-01-13 09-54-39


The network is the backbone of everything. We can create our own Virtual network for our resources in AWS by using the AWS VPC (Virtual Private Cloud) service. There is no VPC currently running in this region, so it is showing a '-' value.




Screenshot from 2024-01-13 09-55-15


In the Search Box Type "VPC"

Screenshot from 2024-01-13 09-55-31


You can create your VPC based on your use case and requirements. For simplicity, I have created a default VPC.




Screenshot from 2024-01-13 09-55-50




Click Create default VPC




Screenshot from 2024-01-13 09-56-14


We have successfully created a VPC. Below, there is an option to view the setup in graphical form.




Screenshot from 2024-01-13 09-56-45


Security Groups are a security feature in EC2. We can set rules to define permissions for accessing our instance.




Screenshot from 2024-01-13 09-58-13


If you want to set up additional configurations, you can click on Advanced setup options; otherwise, click on Launch Instance.




Screenshot from 2024-01-13 09-58-52


Within 3 seconds, we have a brand new server up and running. This is the real power of the cloud. Check the instance state to verify the status of your instance.




Screenshot from 2024-01-13 10-00-09


If you want to create another EC2 instance, follow the same instructions mentioned above.




Screenshot from 2024-01-13 10-00-41


2 instances are running and the instance type is "t2.micro".




Screenshot from 2024-01-13 10-02-10


Always follow best practices to delete cloud resources when they are not needed; it also helps to reduce your cloud bills




Screenshot from 2024-01-13 10-02-49


I also want to mention here the new update from the AWS EC2 team. They introduced a new feature to monitor resource usage, which is an awesome addition. In the AWS Free Tier, we have the option to use EC2 for 750 hours monthly. This feature helps us track both resource usage of EBS and instances.




Screenshot from 2024-01-13 10-03-17




For any AWS or EC2-related doubts, reach out to me via email at [email protected]

aws-ec2's People

Contributors

achanandhi-m avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.