In my previous article, I used an Ubuntu server on EC2 to host a virtual Python environment. This time we will do a bit more with Python.

Homebrew

/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"


Today I’ll run through the following steps to create a virtual environment for coding in Python:

1) Create user & download credentials
2) Create Ubuntu 20.04 Ec2 instance
3) Connect & log into the instance
4) Refresh updates & upgrade packages
5) Create directory & create Python environment
6) Activate & confirm the virtual environment
7) Create a program called hello.py

Create User & Download Credentials


Now more than ever organizations rely on large sums of data to make informed business decisions. In order to make the most informed decisions, Amazon QuickSight ensures your data is easy and inexpensive to digest.

Before I continue, you can read this related article I wrote, which documents cost optimization while setting up AWS accounts leveraging S3, QuickSight, and Cost Explorer.

DEMO QUICKSIGHT FOR FREE


In a prior Medium article, I documented how I configured and tested AWS Auto Scaling using the AWS Console. This time I’ll command AWS through the Command Line Interface (CLI) to set up an Auto Scaling Group (ASG).

Prior to the work, you’ll need to have the AWS CLI installed on your operating system. If you don’t have it you can download it here.

Enable Programmatic Calls to AWS through OS Terminal with a New User


First I will note the benefits of Lambda. Then I will run code without provisioning or managing servers using the Lambda console. Then I’ll manually invoke an event, and finally I’ll review my output metrics.

FYI everything in this exercise is free-tier eligible.

Benefits of Lambda

Creating a Function


AWS offers DynamoDB, a NoSQL key-value & document database service.

BENEFITS OF DYNAMODB


This exercise details how to best register a domain in AWS.

Step 1: Go to the Route 53 Dashboard & Search your desired Domain Name


Below is how I hosted a static website on AWS S3.

First I went to the S3 dashboard and clicked create bucket. Then I titled the bucket “aloha-from-s3” and created it as seen in Image 1. All other configurations I set to default. It is confirmed that my bucket was made in Image 2.


My plan was to establish highly available servers, and to ensure 0% downtime.

PART 1: Creating the instance & AMI Image


My mission was to configure architecture for my team in a way that offered a private instance in a private subnet accessible to my team only.

First I went to VPCs in the AWS VPC Dashboard and selected create VPC (Image 1). I named the VPC “Private_VPC_LUIT,” and configured the CIDR to 10.0.0.0/16. Image 2 illustrates successful creation.

Kevin Czarzasty

Cloud computing is cool. I also enjoy flying my drone, training Jiu Jitsu, and making great memories with family & friends.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store