How Do You Set up AWS CloudFront?

Problem scenario
You want to test out a CDN in AWS.  What do you initially deploy CloudFront?

Solution

Prerequisite
This assumes that you have an S3 bucket with read permissions.  To do this, log into the Amazon S3 console and create a bucket.  Upload files and configure the permissions to grant read permissions to anyone.  

Procedures
AWS CloudFront has “Distributions.”  You want to create a CloudFront Distribution.

How Do You Use Python to Create a Server in AWS?

Problem scenario
You want to be able to create EC-2 instances in AWS with a Python script.  How do you do this?

Solution
Prerequisites

This assumes you have installed Boto3.  If you do not know how, see this posting.

Procedures
As a reference, you may go here to learn more about Boto’s features:  http://boto3.readthedocs.io/en/latest/guide/migrationec2.html
Use this program:

“”” Usage instructions
1. …

How Do You Find the Subscription ID for an Azure Account?

Problem scenario
You want to find the subscription ID for your Azure account.  What do you do?

Possible Solution #1
Log into the Azure Portal.  In the upper right click on your account and then click on “My permissions.”  You should see an alphanumeric string near your subscription.

Possible Solution #2
Prerequisite

If you have Windows 7 you need to install Azure PowerShell;

How Do You Delete a CloudFormation Stack with the AWS CLI?

Problem scenario
You deployed servers with CloudFormation.  You know the name of the stack.  How do you delete the stack with the AWS CLI?

Solution

Prerequisite
This assumes you have installed and configured the AWS CLI.  If you need help with this, see this posting.

Procedure
Run this command (but replace “continualstack” with the name of the stack that you want to delete:
aws cloudformation delete-stack –stack-name continualstack

How Do You Find the Instance Ids of Virtual Servers in AWS Using Python?

Problem scenario
You want to write a Python program to display the instance IDs of virtual servers in AWS.  What do you do?

Solution

Prerequisites
This assumes you have installed Boto3.  If you do not know how, see this posting.  This assumes that you are running it on a server that has access to AWS (e.g., it has access to the internet).

How Do You Get a GCP Server to Present a Website on the Internet?

Problem scenario
You want to browse the web UI of a web application that you set up on a Linux machine in GCP.  How do you get a web service (e.g., Nginx, Apache web server, SonarQube or Jenkins) to work when the server is in Google Cloud Platform?

Solution
Prerequisites
This assumes you have deployed the web application.  If you want to deploy Nginx,

How Do You Use Amazon Aurora to Try It Out?

Problem scenario
You know that Amazon Aurora is compatible with either PostgreSQL or MySQL.  While RDS supports these database types as well as Oracle and SQL Server, RDS does not offer all of the advantages that Aurora offers.

You have read about the benefits of Aurora a database PaaS or DBaaS.   You want to deploy Amazon Aurora because it has numerous features for high availability, performance,

How Do You Use Amazon Route 53 with a Domain Name?

Problem scenario
You have a web server with an external IP address (e.g., a VPS, an EC-2 instance, a DigitalOcean droplet, a VM in Azure or GCP).  You have a domain name, e.g., funexample.com, that you have registered.  You want to go to craft a URL foobar.funexample.com to resolve to this web server with an external IP address.  Right now when you open a web browser and go to foobar.funexample.com,