Browsed by
Author: Salomon

COVID-19 Soft Unsubscribe

COVID-19 Soft Unsubscribe

All of us have those friends and family that sends them COVID-19 updates to their email almost daily. I wholeheartedly believe COVID-19 is a serious and real issue, however I like to vet the information I read and take in. In many instances these friends and family are forwarding items within minutes of receiving them which is telling me they are not even reading the stuff before sending it onward, or just outright sending very slanted articles. In some cases…

Read More Read More

AWS IAM – Creating Users with Limited Rights

AWS IAM – Creating Users with Limited Rights

In the past few tutorials I have shown you how to do some basic things with AWS. It is my guess that a few people have used their AWS root user account to perform some of these things. While functional, this is against best practices. When performing the tutorials or modifying them to suit your environment it is vital to create an IAM user and assign it the least amount of privileges needed to perform the role. Similar to what…

Read More Read More

Install JQ on Linux

Install JQ on Linux

I stumbled upon JQ a few days ago while working with awk, grep, and sed. It is similar to these tools, with the exception for that it is specifically written to parse JSON. Today we will cover a small guide on how to install this on various flavors of linux. If you prefer the source or want to install it on Windows, see this page. CentOS: Debian and Ubuntu: In future tutorials I will be incorporating the use of jq….

Read More Read More

Static Website on S3 Bucket with Route 53 for DNS – CLI

Static Website on S3 Bucket with Route 53 for DNS – CLI

Last week I posted a generic tutorial on how to create S3 buckets and setup Route 53 so that you can access your static website via the domain. This week lets automate this so we don’t have to go through this mess again and we can simply run a script that is as simple as: In short here is the execution order of this script Collects information from the user Validates the region is correct, and sets the hosted zone…

Read More Read More

Static Website on S3 Bucket with Route 53 for DNS

Static Website on S3 Bucket with Route 53 for DNS

If you would like to host static content and have its own domain, Route 53 makes the domain part of this possible and S3 makes the content part possible. Before I covered how to make an S3 bucket and host content, today we will tie together Route 53 with this. If you already know how to create the bucket, this should be easy there are some very minor changes. Bucket 1 Creation (domainexample.com – no www. in front of it)…

Read More Read More

Beer Pong in Singapore

Beer Pong in Singapore

It has been a while since I last played beer pong, but while traveling for work I found an awesome spot with probably the coolest beer pong tables I have ever seen. The venue is called PONG Singapore, it is in a great location at the heart of lots of action downtown. It also has very easy access when you get dropped off by a cab. The staff here was really cool, I was traveling solo and they helped me…

Read More Read More

Validating JSON – JSONLint

Validating JSON – JSONLint

Periodically when I am working with JSON or writing a tutorial I get an error that complains that the JSON is not valid such as the one below. When this occurs I will use a site such as JSONLint to validate the JSON and try to pinpoint the error. For example look at the below where I left out a quote by mistake. JSONLint highlighted the line and helped me narrow down the error. Once it is all polished off,…

Read More Read More

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