Updating Windows and Linux servers

Patch management is critical to keep your systems up to date. To ensure ongoing performance and to avoid issues such as unpatched vulnerabilities. In this post, you will gain practical experience in patching operating systems such as Windows Server and Linux based machines in both a manual and automated way using tools such as Ansible. …

Continue reading ‘Updating Windows and Linux servers’ »

Learn how to back up and validate your database backups

In this post we”ll focus on backing up our application database. Most web sites or web applications will be backed by some form of database. It is important to know how to create, query and backup your database in case anything happens to your data and you need to restore it. It’s also important to …

Continue reading ‘Learn how to back up and validate your database backups’ »

local development options and an introduction to Amazon Web Services (AWS)

This post is an introduction to developing infrastructure in both a local development environment such as a laptop or desktop and also developing in a public cloud environment. Local development is an ideal location for learning, usually without any additional costs when compared to developing in the cloud environment. We will learn about some tools …

Continue reading ‘local development options and an introduction to Amazon Web Services (AWS)’ »

Storing files to multiple AWS S3 buckets

Option 1, Single bucket replication (files added to Bucket A are automatically added to Bucket B) If you aim to store files to a second S3 bucket automatically upon uploading, the built in “Cross Region Replication” is the method to use. Its very easy to set up with just a few clicks in the AWS …

Continue reading ‘Storing files to multiple AWS S3 buckets’ »

How to back up your mysql database from a Laravel 5.1 application to Amazon S3

The following steps are a summary of the instructions from https://github.com/backup-manager/laravel, specific to a Laravel 5.1 application that needs┬áto back up a mySQL database to an AWS S3 bucket. The backup-manager library uses mysqldump to perform the database dump and works well on larger databases also. First, create your bucket on AWS and create the …

Continue reading ‘How to back up your mysql database from a Laravel 5.1 application to Amazon S3’ »

How to migrate an EC2 instance from one AWS account to another

You might want to “copy and paste” an existing EC2 instance from once AWS account to another, to go from Development to Production if you used different accounts for example. Here’s a step by step guide. One potential ‘gotcha’ If you created your existing EC2 instance from a community AMI (such as creating a WordPress …

Continue reading ‘How to migrate an EC2 instance from one AWS account to another’ »

Turn Teamwork in to a Devops command center

We use Teamwork every day to manage our software development work for our clients. I am always interested in pushing Teamwork a little further to see if we can perform more and more tasks within the application so that it is transparent and accessible to our clients, co-workers…and save some time too! In a previous …

Continue reading ‘Turn Teamwork in to a Devops command center’ »

Copy a large number of files from a server to AWS S3

TL/DR: Use s3-parallel-put, a Python script to copy to S3 — I recently worked on an EC2 instance which needed a large number of files, 200gb+ to be copied over to AWS S3. The overall goal was to move all data over to s3 to facilitate future growth and allow for multiple instances in different …

Continue reading ‘Copy a large number of files from a server to AWS S3’ »

Sending emails with AWS SES and an IAM Policy

One thing to keep in the back of your mind when using AWS SES to send emails with an IAM policy is; it will not work if you create the IAM policy manually in the Console. You must create the Policy via the the ‘Create My SMTP Credentials’ button in the SMTP settings page in …

Continue reading ‘Sending emails with AWS SES and an IAM Policy’ »