38492/create-an-ec2-instance-using-aws-cli
You can use the following command to create an EC2 Instance:-
C:\Users\priyj_kumar>aws ec2 run-instances --image-id ami-0080e4c5bc078760e --key-name yourkeyname --instance-type t2.micro --region us-east-1 --subnet-id your-subnet-id --count 1
After creation of the EC2 instance you will get a log like this:-
aws ec2 run-instances --image-id ami-id --key-name yourkeyname ...READ MORE
Hello @Jino, The command for creating security group ...READ MORE
You can use the following code, it ...READ MORE
Here is a step by step guide ...READ MORE
Check if the FTP ports are enabled ...READ MORE
To connect to EC2 instance using Filezilla, ...READ MORE
I had a similar problem with trying ...READ MORE
You can try out the following steps Post ...READ MORE
It might be throwing an error on ...READ MORE
package com.ec2application.ec2application; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.AWSStaticCredentialsProvider; import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.regions.Regions; import com.amazonaws.services.ec2.AmazonEC2; import ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.