Since I was using a Python 3.8 environment (the most recent available) whereas in the tutorial Python 3.7 was used, I wondered if maybe this environment was just borked. Presumably this was somehow related to the cryptic validation error.įor reference, when creating a new application with the default demo app provided by AWS, this is what the working environment properties panel looks like: ![]() What's more, clicking through to the environment properties panel, I was confronted with an empty box with no possible way to add any variables (sorry, Amazon, I'm going to keep calling them variables, just like 99.999% of other developers on the planet). Despite checking multiple times that I had exactly the right file structure in my zipped application folder, when I uploaded it to EB I got the spectacularly unhelpful message of " Validation error" (with no further detail). When I tried to replicate these steps, a couple of things went wrong. The method shown by the teacher on Udemy was fairly simple: create a new application on AWS with the required environment (Python 3.7), upload a zip of the necessary project files, edit a couple of environment variables (inexplicably called "environment properties" on EB), click 'deploy' and presto! Your site is up and running. At the end I discuss my overall impression of the AWS experience as a complete beginner. ![]() ![]() This post is an overview of the litany of things that went wrong, and how I overcame each of them. As part of a mini project for a Python/Django tutorial on Udemy, I was supposed to deploy my finished Django blog on Elastic Beanstalk (EB). A couple of weeks ago I took my first, tentative steps with hosting on AWS.
0 Comments
Leave a Reply. |