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 is a popular package management system for Mac. The following command will install Homebrew as seen in Image 1.
/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
First I added a new user in IAM, gave the new user programmatic privileges, and made them an admin by placing them in the Admin group (Image 1 & 2). …
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.
Much of what I’ve learned about QuickSight was learned while playing with this free demo. …
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.
First I needed to gain access to AWS. I collected my access key & secret access key from My Security Credentials, which are blocked out in red in Image 1.
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.
The benefits of Lambda include but aren’t limited to the fact that there are no servers that need managing, Lambda is continuously scalable, it is cost-optimized to the millisecond, and performance is consistent regardless of scale.
First head to the Lambda dashboard (Image 1). Then create a function by clicking “Create function” in the right hand corner.
AWS offers DynamoDB, a NoSQL key-value & document database service.
DynamoDB is popular because it is scalable and it doesn’t require server management. Also it is considered “enterprise-ready” for the reasons shown in Image 1 from AWS’ DynamoDB Features Page.
This exercise details how to best register a domain in AWS.
I made up a domain “czarusa.com” and searched it is in the field under Register Domain (Image 1). Click check. Fortunately for me it was available.
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.
I went to the EC2 Dashboard (Image 1), selected AWS AMI (Image 2), selected t3 nano (Image 3), configured the Ec2 to enable auto-assigning public IP & ran Apache using the user data (Image 4 & 5), opened Port 80 & 443 in Security Groups, reviewed before launch (Image 7), and confirmed it was launched and running (Image 8).
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.
Cloud computing is cool. I also enjoy flying my drone, training Jiu Jitsu, and making great memories with family & friends.