Posts

Showing posts from May, 2024

EC2 connection with cmd.

Image
 Connecting an EC2 instance with cmd Step1: Create an Ec2 Instance. For creating an instance Click . Follow the link to create an EC2 Instance. Step2:  Connect the EC2 with cmd. Copy the public Ip address in an Instance. Fig.1: Copy the Public IP address.  Copy the key-pair file path where it is downloaded.  Open the cmd in your computer. Enter the following command in the cmd.                    ssh -i key-pair-path ec2-user@ipaddress         Ex;   ssh -i  "C:\Users\nandi\Downloads\vs1.pem" ubntu@ 54.91.103.217 Fig.2: Connecting the EC2 instance. Fig.3: Successfully Connected the EC2 instance. Fig.4: Ubuntu os instance. Thank you😊

EC2 Instance.

Image
 Creating an EC2 Instance Step1: Create an VPC. Follow the blog for VPC creation.  Click Step12:  Create an EC2. In the resources search for EC2. Click on launch an instance. Name the instance as you wish.  Select the OS you want to use.  Create an key pair. Make sure the instance attached with the kay pair. Now in the network security click on edit make sure select the VPC. It is necessary to enable in the Auto assign-IP. Finally click on launch instance there u go you have created an EC2. Fig.1: Network security. Thank You 😊

Create an VPC

Image
 How to create an VPC in AWS? VPC (Virtual Private Network): Is used to launch AWS resources virtually. VPC provides isolation between different networks and services. This isolation ensures that your resources are separated from other users' resources in AWS. You can implement security controls to restrict access and manage the flow of traffic.  A subnet is a range of IP addresses in your VPC. You launch AWS resources, such as Amazon EC2 instances, into your subnets. You can connect a subnet to the internet, other VPCs, and your own data centers, and route traffic to and from your subnets using route tables. Steps to create an VPC: Step 1: AWS Login. Login into your AWS console with your credentials. Step 2: Create VPC. Open the AWS Console Management and search for VPC in all services. Click on the VPC option. There you will find the VPC dashboard click on it there you can see what are the resources running in VPC. Click on create an VPC and choose VPC only. Name it as you wish(e

EC2 with windows

Image
 How to connect an aws ec2 instance with windows. Amazon Web Services (AWS) Elastic Compute Cloud (EC2) is a key service provided by AWS that offers resizable compute capacity in the cloud. Designed to make web-scale cloud computing easier for developers, EC2 enables users to launch virtual servers, known as instances, on demand, with a wide variety of configurations available to meet diverse computing needs. How to connect EC2 with windows?🤔 Do you have any idea?  One of the way is using putty. Yes, PuTTY is a popular SSH and telnet client for Windows that allows users to remotely access and manage computers, typically Linux servers. While PuTTY is primarily used to connect to Linux instances, it can also be used to connect to EC2 instances if you are working with SSH keys.  Why to use Putty: Development and Testing Remote Administration Managing EC2 Instance Wide Compatibility Security Portability and Simplicity Configuration and Customization Key Pair Management SSH and Telnet Clie