AWS Consulting Blog

Official CentOS EC2 AMIs are available on the AWS Marketplace, making it easy to launch new instances into the appropriate region. However, there is a major caveat that comes with instances launched from the AWS Marketplace: the attached EBS volumes are restricted to the instance on which they were launched, meaning that you cannot move the instance’s […]
Continue Reading
We’ve recently published a Bash script for automatic EBS snapshots (with 7-day snapshot retention/cleanup) on Github: EC2 EBS Automated Snapshot Script Using the AWS CLI toolkit, this script will: – Determine the instance ID of the EC2 server on which the script runs – Gather a list of all volume IDs attached to that instance […]
Continue Reading
UPDATE – DECEMBER 2014: This post is now out-of-date, and no longer follows best practices. The recommended solution is to keep your RDS instance private, and not enable public access. Ideally, you should only be connecting to your RDS instance via a secure bastion/jump host, or via a VPN connection into your VPC. Need assistance […]
Continue Reading
Or: Seting up Google Two-Factor Authentication with AWS Last month, I finally setup Google 2-factor authentication on my email account after reading about a high-profile journalist’s account being hacked. I had put off setting up 2-factor authentication for months because it felt like it would just cause headaches trying to check my email, and besides… my passwords […]
Continue Reading
Recently, I’ve received quite a few inquiries about running Windows Server 2008 R2 and MS SQL Server on Amazon Web Services. Windows presents quite a few challenges on Amazon EC2, given that it wasn’t originally designed with a cloud computing platform in mind. Such challenges include: – Amazon EC2 instances are assigned IP addresses by […]
Continue Reading
I recently moved a client’s database from S3-backed storage to an EBS volume. The client’s database had a heavy read/write load on it, so they wanted to know how much additional costs would be incurred by the move to EBS. Currently, Amazon prices EBS volumes as: $0.10 per GB-month of provisioned storage $0.10 per 1 […]
Continue Reading
Want to export the schema from your MySQL database, without all of the data? You can accomplish this with the mysqldump command: mysqldump -u root -pYOURPASSWORD yourdatabasename --no-data=true --add-drop-table=false > schema_dump.sql
Continue Reading
Auto scaling is one of the few Amazon Web Services left that still doesn’t have a web-based interface. Hence, you’ll need use the command line to setup auto scaling on EC2. This guides makes the following assumptions: – You have a custom AMI that you want to autoscale (e.g. a web server) – You’ve created […]
Continue Reading
If you try to restart a web server using a private SSL key with a passphrase, you’ll be prompted to enter that passphrase before the web server can continue loading. Obviously, this isn’t great for automatic service restarts or server reboots. So how do you remove your passphrase from a SSL key? Turns out it’s […]
Continue Reading
1 2 3

AWS Consulting

Casey Labs provides AWS consulting for growing companies, helping them to build secure server infrastructure in the cloud.

Contact us today: [email protected]