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/
Total 10 Posts
How to install Icecast for cloud-based streaming radio.
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.
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
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
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
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 email@example.com Step 2 - Install Git Update your package manager. sudo apt-get update Install Git. sudo apt-get install
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
I wanted to purchase an SSL cert from GoDaddy and install things manually. Here's how.
I've spent many years installing and configuring WordPress blogs on EC2, and here's generally how things start. Manual Install First download these tools: # Apache2 => httpd # PHP => php # MySQL Ext => php-mysql # MySQL => mysql-server # SSL Module => mod_ssl # OpenSSL => openssl Log in as Super User sudo