Aws

How schedule start and stop EC2 instance on AWS

How schedule start and stop EC2 instance on AWS

Biggest advantage with AWS – EC2 service, is that you are paying for each minute of usage. So – why run instances 24/7 if you need them only for 12 hours par day ? You can just start and stop whenever you need them. Obviously we don’t want to forgot to shutdown our instance, or start when we need it. Here is a simple recipe how to automate whole task

Using Google Cloud storage with AWS libraries in GO LANG

Using Google Cloud storage with AWS libraries in GO LANG

Google Cloud storage  it’s Google answer to [Amazon S3][1] service. As long one of them is very popular 😉 Second wasn’t so successful amongst developers due to quite complex processes around service. Amazon is super simple, and developer friendly – Google… well not so easy. So the questions – why you may consider using GS instead of well documented, and super easy S3. Not many people realise but Google Cloud Storage is actually cheaper . The other reason to use Google Storage is having different provider as a backup solution. Anyway – let’s show how easy is to use GS with existing S3 libraries.

Apache 2.4, PHP 5.4 on EC2 instance

Apache 2.4, PHP 5.4 on EC2 instance

This tutorial just updated version of my previous one . This time we are going to install newer version of apache (httpd 2.4), PHP 5.4 but as a PHP-FPM . Instructions are pretty simple. You can just copy and paste command to get working stack in less then 15 minutes.

What you can learn from it? How to install Apache 2.4 and PHP 5.4, how to enable and APC, and how to install HTTPS on your server, with purchasing SSL certificate.