Linux Apache MariaDB in the cloud

  Linux Apache MariaDB in the cloud


LAM AWS

The LAM AWS server instance was designed to utilize a t2.micro EC2 instance which is part of the AWS Free Tier offering. That offering includes 750 Hours / month of a t2.micro EC2 instance which is enough to run one instance 24/7. The instance could scale up by using a larger and more capable server and other options. Currently multiple groups of virtual hosts all run on one server but multiple servers could be used to scale wide. Once the Free Tier is over this small server will cost about $15.00 / month with the current sizing and usage.

The LAM AWS server is initialized with Ubuntu CloudInit directives to install the necessary packages, configuration and content on top of a generic Ubuntu Server image. All the directives in a file can be specified with the CLI user-data parameter or in Advanced Options of the launch page from the AWS console.

Launch an AWS EC2 instance to take over lam1 from the laptop using AWS CLI

After installation of the awscli package and configuration a new instance can be launched from the command line on ak16 with the following:

aws ec2 run-instances --count 1 --image-id ami-4e79ed36 \
--instance-type t2.micro --security-group-ids sg-3bda0647 \
--associate-public-ip-address --key-name aws-nwo-lam1 --user-data \
file:///mnt/Bk0/Zz/z18/z1804/2018-04-10/aws-nwo-lam1-Ubuntu-CloudInit-17.txt

Launch an AWS EC2 instance to be a SSH SOCKS5 Proxy server on port 433

aws ec2 run-instances --count 1 --image-id ami-4e79ed36 \
--instance-type t2.micro --security-group-ids sg-3bda0647 \
--associate-public-ip-address --key-name aws-nwo-lam1 --user-data \
file:///mnt/ak16-ext4/Zz/z18/z1803/2018-03-20/aws-nwo-lam1-Ubuntu-CloudInit-15.txt

Log

Contents

Retrieved from "https://ak17.lam1.us/A/index.php?title=Linux_Apache_MariaDB_in_the_cloud&oldid=3978"

104 visits (2 today, 2 this week, 51 this month, 104 this year)
Uptime: 07:44:30 up 3 days, 19:17, 0 users, load average: 0.00, 0.00, 0.00
54.158.219.248 GET from server lamurakami.com

Sunday, May 27, 2018 @ 7:44:30 AM
aws.ServerAdmin@lam1.us