36578/pass-while-creating-the-ec2-instance-aws-using-python-boto3
import boto3 ec2 = boto3.resource('ec2') instance = ec2.create_instances( ImageId = 'ami-009d6802948d06e52', MinCount = 1, MaxCount = 1, InstanceType = 't2.micro', KeyName = 'keyfilename', SubnetId = 'subnet-02f498277') print (instance[0].id)
Hii rajesh,
For your query you can refer this-https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html
Hope it is helpfull!!
Thank you!!
Hello @Aryan,
As you want to get started with AWS you can refer to this blog:What is AWS ? – An Introduction to AWS
You can also check out the course of AWS:https://www.edureka.co/aws-developer-certification-training
Hope it is helpful!!
Hi@akhtar, You can use a network interface in ...READ MORE
You can simply loop through using a ...READ MORE
The error clearly says the error you ...READ MORE
You can use the following code, it ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
It can work if you try to put ...READ MORE
Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE
When you use docker-compose down, all the ...READ MORE
Python String and Integer concatenation >>> print("arn:aws:swf:us-east-2:{0}:action/actions/AWS_EC2.InstanceId.Stop/1.0".format(acccnum)) arn:aws:swf:us-east-2:12312312312312:action/actions/AWS_EC2.InstanceId.Stop/1.0 >>> print("arn:aws:swf:us-east-2:" ...READ MORE
I believe that you are using the ...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.