EC2

Total 10 Posts

AWS: Using the command line to get an EC2 instance ID

Here are three ways to get the instance ID of an EC2 server using the command line. Built-in If you are logged into an Ubuntu machine. ec2metadata --instance-id Curl curl command using an IP address. curl http://169.254.169.254/latest/meta-data/instance-id curl command simplified. curl http://instance-data/

AWS: How to install Icecast on AWS EC2 (Part 1 of 2)

Icecast is an open source server designed to help you stream music over the web. The server is designed for DevOps administrators who prefer managing through configuration files. Today we will recreate a cloud-based radio station using AWS EC2, Icecast and Mac OS X. Step 0 - Setting up AWS

Bitnami WordPress Cheatsheet for AWS Lightsail

I'm currently working on two WordPress websites that have been pre-configured by Bitnami within a Virtual Private Cloud. Below are a few select commands I use all the time but only found them while scouring through forums and comment boxes. I hope this collection helps other WordPress managers save time.

AWS: Modifying Robots.txt within a Bitnami EC2 instance

Bitnami offers Wordpress for AWS Cloud which is great for developers whom are not interested in focusing on DevOps topics such as installing php, Apache and Wordpress. The Bitnami package does it all but there are a few things you'll need to modify including robots.txt files. In this blog

AWS: Anatomy of a Virtual Private Cloud (VPC)

Virtual Private Cloud is a full data center within the AWS cloud. Amazon now makes it possible for you to rent a piece of the AWS infrastructure to build and manage your own ecosystem. You have full control of your servers, storage and networking. Within this ecosystem, you can create

Bash: EC2 Script

This script is designed for AWS EC2 manager interested in installing an apache server, then copying web page files from an AWS S3 bucket to Apache's web directory. #!/bin/bash # Install Apache using yum package manager yum install httpd -y # Update yum yum update -y # Copy files from AWS S3

Install Let's Encrypt SSL on Wordpress Lightsail or EC2 by Bitnami

We are going to use Let's Encrypt Certificate Authority to create and install a free SSL certificate. Step 1 - Log In ssh -i /path/to/file.pem bitnami@xx.xxx.xxx.xxx Step 2 - Install Git Update your package manager. sudo apt-get update Install Git. sudo apt-get install

AWS: Create a simple EC2 web server

This entry is intended to show how to create an EC2 instance from within a Virtual Private Network. What is a VPC? Virtual Private Cloud is a full data center in AWS. What this means is that you have control of the servers, storage and networking. AWS VPS allows you

Install GoDaddy SSL on AWS Lightsail or EC2 by Bitnami

There are many tutorials on how to install SSL certificates using a AWS Bitnami but I wanted to purchase an SSL cert from GoDaddy and install things manually. Here's how. This is Part 2 of Installing a secure WordPress blog on AWS EC2 using Bitnami. Step 0 - Getting Started

Installing WordPress on EC2 using Bitnami package

I've spent many years installing and configuring WordPress blogs on EC2 and here's generally how things start. Manual Install First I download and install these tools: #Apache2 => httpd #PHP => php #MySQL Ext => php-mysql #MySQL => mysql-server #SSL Module => mod_ssl #OpenSSL => openssl Log in as