Editing
Troubleshooting Deploying a Django Application With Elastic Beanstalk
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== `eb deploy` errors where EB environment doesn't match == '''Use case''' Attempting to update `.ebextensions/01-packages.config` to list Git and PostgreSQL as packages to install, then running `eb deploy` to install the packages, the deploy process quits with errors to the effect that the YAML is malformed in the `.config` file. Editing the file makes it evident that the errors are originating in another environment. '''Cause''' Logged into wrong EC2 instance. You can log into an EC2 instance and run `eb init` and `eb create` commands to create new Elastic Beanstalk applications and environments. The new app will spawn a new EC2 instance, ''that is separate from the current EC2 instance''. '''Fix''' It's necessary to `ssh` to the correct EC2 instance to run `eb deploy`. Go back to the AWS EC2 console, find the EC2 instance corresponding to the new EB environment, and `ssh` to its public DNS.
Summary:
Please note that all contributions to Littledamien Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Littledamien Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information