From the course: Deploying Django Apps: Make Your Site Go Live

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Database connection and setup

Database connection and setup

From the course: Deploying Django Apps: Make Your Site Go Live

Start my 1-month free trial

Database connection and setup

- The next big step in our deployment is getting our database settings all correct. So we need to open up our console, so a quick way to do this is you can just type eb console and it's actually going to open up a browser window with your console here ready to go. And once this opens up we need to go ahead and move onto our configuration. So let's go to Configuration here on the left. Once we're inside of here there's a lot of different options but we want to get down here to where it says Database. So go to Database and click on Modify. Once we're here, we need to go ahead and change our settings. Now we don't have a snapshot, a snapshot is if you had some sort of backup. But we do need to change this to be a postgres database, so we're going to change engine here to be postgres. Let us do it's settings. Keep everything here default, you can change the size if you think you're really going to need bigger, but keep this at micro, that's going to be the smallest size that we can go…

Contents