Konstantin Vlasenko

An engineer is someone who can make for a dollar what any fool could make for two. – Alan Kay

Category Archives: AWS

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 access [...]

AWS .NET SimpleDB uses https

So do not be afraid. You are secure. Declaring Type: Amazon.SimpleDB.AmazonSimpleDBConfig Assembly: AWSSDK, Version=1.3.8.0 public AmazonSimpleDBConfig() { this.serviceVersion = “2009-04-15″; this.serviceURL = “https://sdb.amazonaws.com”; 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\1.3.8.0\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 * from [...]

Get Spot Price History by using aws-lib

We are going to get the pricing history for t1.micro instances by using aws-lib (Extensible Node.js library for the Amazon Web Services API): var aws = require(“aws-lib”); var ec2 = aws.createEC2Client(accessKeyId, secretAccessKey); var iType = ‘t1.micro’; ec2.call(‘DescribeSpotPriceHistory’, {‘InstanceType.1′:iType}, function(result) { console.log(result.spotPriceHistorySet.item); } );

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 instance [...]

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 had [...]

AT: Moving Ahead With Amazon EC2 (Prerequisites)

AT – Acceptance Testing You need to have RDP (3389) and SSH (22) access to the IP addresses from the Amazon EC2 Public IP Ranges to manage your testing environment. Ask your administrator to open this access in case you don’t have it. Don’t try to run an EC2 instance before you will have this [...]

AT: Moving Ahead With Amazon EC2 (Intro)

AT – Acceptance Testing I’ve got ten hosts, but their capacity is almost 100% in use by virtual machines. Many of the hosts are obsolete and do not support new configurations. But I am against requesting new hosts. If you’re part of a big company and need additional IT resources, you probably find you’re required [...]

AWS CloudFormation

AWS CloudFormation gives developers and systems administrators an easy way to create a collection of related AWS resources and provision them in an orderly and predictable fashion. With CloudFormation, you can start and stop an entire environment with one operation. It’s very similar to Microsoft Azure’s approach with their .cscfg and .csdef files which are [...]

Enable NetBIOS over TCP/IP

To enable NetBIOS over TCP/IP first identify the adapters index number using wmic nicconfig get caption,index,TcpipNetbiosOptions then using one of the following values: 0 – Use NetBios setting from DHCP 1 – Enable NetBios over TCP/IP 2 – Disable NetBios over TCP/IP set the required NetBIOS over TCP/IP value to each Nic. wmic nicconfig where [...]

Follow

Get every new post delivered to your Inbox.