Browsed by
Month: September 2019

Static Website Deployment on a S3 Bucket with GitHub and CodePipeline

Static Website Deployment on a S3 Bucket with GitHub and CodePipeline

I have a static website I want to periodically change but I manage the code on GitHub, how can I host this on a S3 bucket and ensure the content is synced? This isn’t actually as daunting as it may sound, getting this to sync with AWS S3 is relatively easy with CodePipeline. Like with many AWS services, there is a small cost. I will be reusing one of the S3 buckets from a previous tutorial for this, specifically tutorial-001-sj….

Read More Read More

WordPress on Amazon Lightsail – CLI

WordPress on Amazon Lightsail – CLI

Like with some of the other tutorials I have written, it is possible to do the whole deployment via command line. In this case, it is a simple one liner. There is certainly a lot more that can be done, and I strongly read up on some of the commands below. The blueprints and bundles will change over time as things get updated. If you are creating your first instance this way, ensure you download your key. If you are…

Read More Read More

WordPress on Amazon Lightsail

WordPress on Amazon Lightsail

Lets say you wanted to host a WordPress blog and you had a small budget (first month was free when I wrote this!) but also wanted to do it in the cloud just for fun, Lightsail provides you the ability to do this. Sign into the AWS Console Under “Find Services” type in “Lightsail” and select Lightsail. Click on “Create an instance”, under “Instance location” change the region to one that is near you. In my case I went with…

Read More Read More

Automating S3 Bucket Creation for Websites – CLI

Automating S3 Bucket Creation for Websites – CLI

Last week I wrote a post about creating an S3 Bucket to host a static website. After I posted it I began to wonder, could we command line this to make it creating a bucket a quicker task? This post assumes you have the CLI installed and know the very basics on how to use it. Here is the rundown of the logic and what steps need to take place: A bucket needs to be created, region selected Public access…

Read More Read More