AWS re:Invent Feature Request

Recently,  I went to AWS re:Invent 2018 for the second time. My first time was back in 2014 (when AWS Lambda was introduced). This time I decided to go to Las Vegas with my wife. So I did purchased a guest pass to AWS re:Play event. re:play itself was great. Highly recommend to attend itContinue reading “AWS re:Invent Feature Request”

Amazon RDS Now Supports T2 Instances

That is good news. T2 instances CPU credits is really great feature introduced 2 months ago for EC2. Amazon RDS Now Supports T2 Instances At the same time the price for T2 RDS instances is twice less then for the previous generation. T2.micro EC2 + T2.micro RDS are good if you are thinking about web appContinue reading “Amazon RDS Now Supports T2 Instances”

#PowerShell: Register AWS EC2 instances in Amazon Route53 (new way)

Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web service. Just in case – Amazon EC2 I use this script to provide meaningful names for them. Simple usage: $config = @{ DomainName = ‘’ } $name = “www.$($config.DomainName)” # get instances $instance = (Get-EC2Instance $InstanceId).RunningInstance # update R53 .\Register-CNAME.ps1Continue reading “#PowerShell: Register AWS EC2 instances in Amazon Route53 (new way)”

Apply GeoTrust certificate to AWS ELB

Here is the tool which I used to verify correctness of my AWS ELB SSL configuration. Certificate Name – put here whatever you want Private Key – copy and past content of server.key file Public Key Certificate – copy and paste content of your_site_name_ee.cer file This will be enough to pass validation by the tool.Continue reading “Apply GeoTrust certificate to AWS ELB”

Backup you on-prem/local #PostgreSQL database to cloud #AWS #RDS snapshot

#PostgreSQL #MySQL backup for $0.026 + $0.125 per GB-month Total costs of the backup operation: $0.026 + $0.125 per GB-month Script below will do the following steps: create PostgresSQL AWS RDS t1.micro instance wait till instance started by using aws rds describe-db-instances get AWS RDS instance address copy database create AWS RDS instance snapshot andContinue reading “Backup you on-prem/local #PostgreSQL database to cloud #AWS #RDS snapshot”

Restore #AWS RDS instance from a database snapshot by using AWS CLI

The AWS Command Line Interface is a unified tool to manage your AWS services. I am using AWS RDS PostgreSQL for my application. I don’t need to run this application 24/7/365. So I have the ability to stop periodically my instances to save some money in my pocket. Nobody wants to do repeated tasks manually.Continue reading “Restore #AWS RDS instance from a database snapshot by using AWS CLI”

PowerShell: Register AWS EC2 instances in AWS R53

UPDATE: #PowerShell: Register AWS EC2 instances in Amazon Route 53 (new way) Suppose you have a variable $lab: $lab = @{id=’ami-7300091a’; name=’’; type=’m1.small’; maxbid=’0.02′; CNAME=’’}, @{id=’ami-49000e20′; name=’’; type=’cc1.4xlarge’; maxbid=’0.09′; CNAME=’’} Let’s update AWS R53 entries by using instances CNAME: $zoneId = ‘ZB00X5FI00YBB’ foreach($computer in $lab){ “[$($]`t[R53] update… ” | Out-Default $result = Get-R53ResourceRecordSet -HostedZoneId $zoneId -StartRecordName $ -MaxItems 1Continue reading “PowerShell: Register AWS EC2 instances in AWS R53”