In my previous post in this series I covered linking GitHub and DockerHub and configuring the environment such that a build of a Docker image was triggered on updates to GitHub. In this final post of the series I will take you through the steps to pull the image from Docker Hub into OCCS in order to run the application. It should be noted that the image built on Docker Hub in my example is only the web tier that contains my Node.js project (APIs and SwaggerUI). The MongoDB component of my OCCS Stack is pulled directly from Docker Hub when my Stack containing the Web Tier and Database Tier services is deployed to OCCS. Continue reading “Exploring GitHub Docker Hub and OCCS Part 4”
Now days with the adoption of Serverless architectures, microservices are becoming a great way to breakdown problem into smaller pieces. One situation that is common to find, is multiple backend services running on technologies like NodeJS, Python, Go, etc. that need to be accessible via HTTPS. It is possible to enable these internal microservices directly with SSL over HTTPS, but a cleaner approach is to use a reverse proxy that front ends these microservices and provides a single HTTPS access channel, allowing a simple internal routing.
In this blog, I am showing how simple it is to create this front end with Nginx and leveraging “Let’s encrypt” to generate trusted certificates attached to it, with strong security policies, so that our website can score an A+ on cryptographic SSL tests conducted by third party organizations.
I’m running up some environments for the Developer Experience workshop. And looking to use docker to host some of the environments. Here’s a quick snapshot for getting yourself up and running.
LET’S GET AN ORACLE COMPUTE INSTANCE PROVISIONED
So, after you have got your environment from https://cloud.oracle.com/tryit and you have logged into the Oracle Compute Cloud Service, you’ll find yourself here at the landing page. From here we’ll create our compute instance.
- Insert a USB flash drive into a running computer.
- Open a Command Prompt window as an administrator.
- Type diskpart.
- In the new command line window that opens, to determine the USB flash drive number or drive letter, at the command prompt, type list disk, and then click ENTER. The list disk command displays all the disks on the computer. Note the drive number or drive letter of the USB flash drive.
- At the command prompt, type select disk , where X is the drive number or drive letter of the USB flash drive, and then click ENTER.
- Type clean, and the click ENTER. This command deletes all data from the USB flash drive.
- To create a new primary partition on the USB flash drive, type create part pri, and then click ENTER.
- To select the partition that you just created, type select part 1, and then click ENTER.
To format the partition, type format
fs=fat32 quick, and then click ENTER.
You can try NAT based connection and it will work just fine, but you will not be able to access your VM servers externally, unless you map ports. Another option is to use “Bridge Adapter”. Look:
- As root, run the following command:
cat << EOF > /etc/yum.repos.d/google-chrome.repo
name=google-chrome – \$basearch
In order to install VNC Server on Ubuntu 16.04 follow the next instructions (refer to https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-16-04 for more information)