|
Comments
Did you read today's front page stories & breaking news?
SYS-CON.TV
|
From the Blogosphere How to Secure Amazon Elastic Cloud
A step by step walk through on high level of securing a normal tiered application running on EC2
By: Jim Liddle
Sep. 18, 2009 07:00 AM
Cloud Computing on Ulitzer In this post I will walk you through the high level of securing a normal tiered application running on EC2. First I will cover the basics of what EC2 provides and then briefly discuss how this can be used in a real life scenario. Security Groups
Key Pair Amazon discourages the use of passwords and the normal way to access an instance is using ssh and a private key. Amazon EC2 provides facilities to generate the key(2048 bit RSA key), at instance startup you can attach the key name to the instance and this will allow root access. Normally you will customize the AMI with your own less privileged user public keys and disable root login Securing Your Application Now that we have covered the basics how can we use these to secure a distributed application. Below is the normal deployment architecture for a typical tiered application. In the above deployment we have created 4 security groups Web-Security group: Allows http (80) and https(443) to everyone to access the application App security group: Only allows access from instances running in web security group on required ports e.g. 8080 DB security group : Only allows access from instances running in app security group on required ports e.g. 3306 ssh-admin security group: Only allows access to ssh port 22 and as a matter of policy access is allowed from specific host address or organization network. This allows easy management of permissions. As you can start an instance with multiple security groups the web tier instances will run with web and ssh-admin security groups, app server instances with app and ssh-admin and finally database instances with db and ssh-admin. You will not need to change web, app or db security groups, The cloud administrator will allow or revoke admin access by just adding or removing hosts from ssh-admin group with port 22 access. You can write scripts or use any GUI (Elasticfox, Amazon admin console) tool Other Best practices
SOA World Latest Stories
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||