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”

#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)”

Schedule your Amazon EC2 spot instance startup time

Here I want to explain how to start your Amazon EC2 instance recurrently by scheduling. I have used the AWS Tools for Windows PowerShell. You can use java command line or python library. The main goal is to explain the idea: I am going to automate the starting of my Fitnesse server. Create launch configurationContinue reading “Schedule your Amazon EC2 spot instance startup time”

AWS EC2: It is not possible to “sniff” traffic that is intended for a different virtual instance

It is not possible for a virtual instance running in promiscuous mode to receive or “sniff” traffic that is intended for a different virtual instance. While customers can place their interfaces into promiscuous mode, the hypervisor will not deliver any traffic to them that is not addressed to them. Even two virtual instances that areContinue reading “AWS EC2: It is not possible to “sniff” traffic that is intended for a different virtual instance”

AWS is built for enterprise security standards

Certifications SOC 1 Type 2 (formerly SAS-70) ISO 27001 PCI DSS for EC2, S3, EBC, VPC, RDS, ELB, IAM FISMA Moderate Compliant Controls (Amazon cloud earns key FISMA government security accreditation) HIPAA & ITAR Compliant Architecture Phisical security Datacenters in nondescript facilities Physical access strictly controlled Must pass two-factor authentication at least twice for floor accessContinue reading “AWS is built for enterprise security standards”

AWS .NET SimpleDB uses https

So do not be afraid. You are secure. Declaring Type: Amazon.SimpleDB.AmazonSimpleDBConfig Assembly: AWSSDK, Version= public AmazonSimpleDBConfig() { this.serviceVersion = “2009-04-15”; this.serviceURL = “”; this.userAgent = AWSSDKUtils.SDKUserAgent; this.signatureVersion = “2”; this.signatureMethod = “HmacSHA256”; this.proxyPort = -1; this.maxErrorRetry = 3; this.fUseSecureString = true; }

Using PowerShell for common AWS SimpleDB operations

#Create SimpleDB client Add-Type -Path “C:\AWS SDK\\bin\AWSSDK.dll” $sdb=[Amazon.AWSClientFactory]::CreateAmazonSimpleDBClient(‘Key Id’, ‘Secret Key’) #Create Domain $req = (new-object Amazon.SimpleDB.Model.CreateDomainRequest).WithDomainName(‘Contacts’) $sdb.CreateDomain($req) #List Domains $req = (new-object Amazon.SimpleDB.Model.ListDomainsRequest) $sdb.ListDomains($req) #Insert Item $req = (new-object Amazon.SimpleDB.Model.PutAttributesRequest).WithDomainName(‘Contacts’).WithItemName(‘user1’); $req.Attribute.Add((new-object Amazon.SimpleDB.Model.ReplaceableAttribute).WithName(‘FirstName’).WithValue(‘Konstantin’)) $req.Attribute.Add((new-object Amazon.SimpleDB.Model.ReplaceableAttribute).WithName(‘LastName’).WithValue(‘Vlasenko’)) $sdb.PutAttributes($req) #Query All Items $req = (new-object Amazon.SimpleDB.Model.SelectRequest).WithSelectExpression(‘select * from Contacts’) $sdb.Select($req) #Query Item $req = (new-object Amazon.SimpleDB.Model.SelectRequest).WithSelectExpression(‘select * fromContinue reading “Using PowerShell for common AWS SimpleDB operations”

AT: Moving Ahead With Amazon EC2 (Creating AMI by modifying the existing one)

Login to the AWS Management Console Switch to EC2 tab Click on AMIs Select EBS image and Launch it Do not select micro or small instance at this step to avoid long running configuration Click on Instances Wait ~5 minutes and try to Get Windows Admin Password of your started instance RDP to your instanceContinue reading “AT: Moving Ahead With Amazon EC2 (Creating AMI by modifying the existing one)”

AT: Moving Ahead With Amazon EC2 (Building the testing environment)

AT – Acceptance Testing For the first try I decided to build the following very simple Windows lab: Domain Controller with DNS Application Server Here are some questions that you must have the answer before moving forward: Which amazon images (AMI) to use for the virtual machines? How to create AMI for VMs? Actually hadContinue reading “AT: Moving Ahead With Amazon EC2 (Building the testing environment)”