Can I create EC2 instances asynchronously?

0 votes

I'm using boto3 to create aws ec2 instances.

ec2 = boto3.resource('ec2', region_name='us-east-1')
ec2.create_instances(..)

can't find async options. Can someone help as how can I do that?

Mar 28 in AWS by william
33 views

1 answer to this question.

0 votes

Unfortunately there is no legit async function for that in the API. You can do an async call in another thread, there is multiple ways to do this in python. There is an unofficial Async AWS python SDK aioboto3. It does not contain your API call today but you can contribute if you like.

answered Mar 28 by Ritu

Related Questions In AWS

0 votes
1 answer

AWS EC2 Free Tier- how many instances can i run?

Amazon has a handy page that details ...READ MORE

answered Jul 6, 2018 in AWS by Priyaj
• 56,520 points
342 views
0 votes
1 answer

How can I find out the instance id of an ec2 instance from within the ec2 instance?

On Amazon Linux AMIs you can do: $ ...READ MORE

answered Sep 10, 2018 in AWS by Archana
• 4,090 points
31 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Usage in EC2 instance in AWS

If you are using your application in ...READ MORE

answered Mar 28 in AWS by Kilga
19 views
0 votes
1 answer

Permission Denied: AWS EC2 FTP

This is a permission issue. You can ...READ MORE

answered Mar 28 in AWS by Kolki
100 views