NEW

Deploy Django to DreamCompute on Ubuntu with Apache – Part 5

In the final part of this tutorial, we’ll talk about how to set up a secure HTTPS connection on Apache with an SSL certificate from Let’s Encrypt.

Deploy Django to DreamCompute on Ubuntu with Apache – Part 4

In the previous part of this tutorial, we set up and configured Django. With everything now set up, it is time to install and configure Apache.

Deploy Django to DreamCompute on Ubuntu with Apache – Part 3

In the previous tutorial we got PuTTY and FileZilla set up. In this tutorial, we’ll be focusing on using the Shell terminal to get Django installed and set up.

Deploy Django to DreamCompute on Ubuntu with Apache – Part 2

In the first part of this tutorial, we set up a DreamCompute Instance. In this part, we’ll walk through connecting to the system Shell and SFTP.

Deploy Django to DreamCompute on Ubuntu with Apache – Part 1

In this five-part tutorial, I’m going to show you how to deploy a Django application to DreamCompute on Ubuntu with Apache and an SSL certificate.

The Google Pop-up Experience

When I've first heard about Google opening up a hardware store in Chicago's Bucktown during mid-October, I was very excited. I've been following Google's development for quite some time now in the industry. I, myself, am a big fan of smart devices and find the concept...

VO Manager Pro – Released

You can now purchase the VO Manager Pro on the Unity Asset Store at http://u3d.as/1ee5 for $14.99!

View My Map

View My Map is an online web application that gathers Facebook user’s checked-in location data and places them on a Google Map. The app also allows the user to export screenshots of their map as well as share them online via a generated link.

Balancing School and Work

It’s no joke when it comes to balancing school and work. It can be difficult, and I have a hard time myself. How do any of us do it? Sheer willpower of course! As true as that may sound, there’s more to it than sheer willpower.

Deploy Django to DreamCompute on Ubuntu with Apache – Part 1

In this five-part tutorial, I’m going to show you how to deploy a Django application to DreamCompute on Ubuntu with Apache and an SSL certificate.

To follow along with this tutorial, you must have a registered DreamHost account. You can register for a new account here.


Creating Our DreamCompute Account

DreamHost asking first time DreamCompute users to setup an API password

To deploy our application to DreamCompute, we first must set up our new DreamCompute account. If you already have one, you can log into DreamCompute here.

To set up a new DreamCompute account, log into DreamHost and click on DreamCompute option under Cloud Services on the left-hand sidebar.

If this is your first time setting up DreamCompute, you’ll be prompted to choose an API password before you continue. If this is not your first time and you’ve already had an account made, click on the View Dashboard button. Clicking on View Dashboard will redirect you to the DreamCompute login page.

Launching a New Instance

DreamCompute Instances and Launch Instance button location.

Once you log into DreamCompute, the next step is to create a new Instance for our Django application. Click on Instances on the left-hand sidebar. Then click on the Launch Instance button in the right-hand side.

DreamCompute details tab in Launch Instance modal.

A modal will pop up asking you to fill in some details before you can launch your Instance. By default, you should be on the Details tab. On this tab, the only thing you would need to fill out is the Instance Name.

DreamCompute source tab in Launch Instance modal.

After you’ve picked a name for your Instance, the next thing you’ll need to do is select a Source. Click on the Source tab and select Ubuntu-18.04, or any of the other options you may prefer.

Note: Please keep in mind Ubuntu-18.04 is the selected source for this tutorial. Directions may vary based on your chosen preference.

DreamCompute flavor tab in Launch Instance modal.

Once you’ve selected a source, you’ll next need to pick a Flavor. For this tutorial, we’ll be using gp1.subsonic. Choose a preference based on your application needs.

DreamCompute key pair tab in Launch Instance modal.

The last thing we’ll need to do before you’re able to launch your Instance is setting up a Key Pair. The Key Pair will grant us access to the system’s Shell and SFTP.

To create a key pair, click on the Key Pair tab then press the Create Key Pair button on the top.

Another modal will pop up asking you to give your key pair a name. Once you’ve given your key pair a name and save it, a file with a .pem extension will save to your computer. Keep this file safe as we will be accessing this later.

DreamComputer IP address and power state location.

At this point, we are now ready to launch our Instance. Hit the Launch Instance button. The modal will close, and we will see our Instance under Instances. When the Power State status is Running, take note of our IP Address as this will be required, alongside the key pair to access our system’s Shell and SFTP.

We now have a running Instance on DreamCompute!

Previous

Next

Submit a Comment

Your email address will not be published. Required fields are marked *