How to mention that the Environment EC2 should be attached to which VPC and subnet
In which Subnet its ELB should be created
Any sample code will be helpful
Please Note: I have one public and one private subnet, we can control the creation of EC2 and ELB creation through subnet IDs
I would recommend asking this question on the elastic beanstalk forums: https://forums.aws.amazon.com/forum.jspa?forumID=86. They will be much more knowledgeable of how to set this up appropriately through their API.
I need to create Elastic Beanstalk Environment from boto3. For which I guess the API sequence should be
{ "ApplicationName": "APP-NAME", "EnvironmentName": "ABC-Nodejs", "CNAMEPrefix": "ABC-Neptune", "SolutionStackName": "64bit Amazon Linux 2016.03 v2.1.1 running Node.js" } Questions:
Any sample code will be helpful Please Note: I have one public and one private subnet, we can control the creation of EC2 and ELB creation through subnet IDs