Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/env/python
- import boto3
- kwargs = {
- 'ApplicationName': "EscalabilidadeApp",
- 'EnvironmentName': "EDocker",
- 'CNAMEPrefix': "EDocker-Neptune",
- 'SolutionStackName': "64bit Debian jessie v2.5.2 running Python 3.4 (Preconfigured - Docker)"
- }
- # Create ElasticBeanstalk client
- elb = boto3.client('elasticbeanstalk')
- elb.create_application(ApplicationName='EscalabilidadeApp');
- response = elb.create_environment(**kwargs)
- print response
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement