Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

c4.large requires a VPC #11

Open
watchwithmike opened this issue Dec 8, 2017 · 5 comments
Open

c4.large requires a VPC #11

watchwithmike opened this issue Dec 8, 2017 · 5 comments
Assignees

Comments

@watchwithmike
Copy link
Contributor

Using the latest code from master and following the README.md, I get the following error due to c4.large requiring a VPC.

ERROR: Creating Auto Scaling group named: awseb-e-XXXXXXXXX-stack-AWSEBAutoScalingGroup-LPMU6SAD3K5W failed. Reason: The specified instance type can only be used in a VPC. A subnet ID or network interface ID is required to carry out the request. Launching EC2 instance failed.

Changing the command to a c3.large succeeds, e.g.:

eb create -i c3.large --scale 1 --envvars TARGET_URL=<test URL> --instance_profile aws-elasticbeanstalk-locust-role

@abhiksingh
Copy link
Contributor

Thanks for pointing out the VPC requirement @watchwithmike. For most folks who created their AWS accounts in 2014 or later, this should work as is due to the default VPC. I will look into updating the instructions for those deploying to a manually created VPC.

@abhiksingh abhiksingh self-assigned this Dec 8, 2017
@shaikshakeel
Copy link

Hi,
any update on this ?

@abhiksingh
Copy link
Contributor

@shaikshakeel what are you looking for? Instructions on running the app in a VPC using C4 instances?

@shaikshakeel
Copy link

@abhiksingh while creating Elastic Beanstalk using eb create .... command it is using default VPC as u said.

Is there any update on this ? using our own VPC ?

@vipinkumar1234
Copy link

Hi @abhiksingh while running eb create i am getting error = Instance deployment failed. For details, see 'eb-engine.log'
and i checked eb-engine-log and there is issue like Attempting to install ['locustio==0.8.1', 'pyzmq==16.0.3'] via easy_install
[ERROR] easy_install failed. Output: Searching for locustio==0.8.1

any idea how to resolve this i already tried with instance type c4.large, c4.xlarge and making change in setup.confiig locustio: [ "0.8.1" ] to locust: [ "0.8.1" ] because locust move from locustio to locust..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants