Difference between revisions of "Using Amazon Webservices"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
old>Admin
Line 39: Line 39:
* Consider instance termination protection
* Consider instance termination protection
* Backup: Can be taken as EBS snapshots
* Backup: Can be taken as EBS snapshots
* Monitor:
* Monitor: Activate CloudWatch for the instance

Revision as of 12:11, 9 March 2013

ARTICLE EXPECTED 2013-03-15

Getting started with EC2

ARTICLE EXPECTED 2013-03-15

The following images are quite suitable as base images

  • amazon/amzn-ami-pv-2012.09.0.i386-ebs
  • amazon/amzn-ami-pv-2012.09.0.x86_64-ebs

Note the above images require that you use ec2-user for SSH access.

Storage options

Two scenarios exist

  • Simple setup data and application in one
  • Confidential data in an separate encrypted storage

For a separate storage you should do the following

  1. Create a new EBS partition
  2. Mount to suitable point
  3. Encrypt and login using LUKS

Note that LUKS partitions may contain multiple passwords, and do not need to be at rest when copy/backup operations are active.

Stuff to do in Amazon linux

After booting images

  • Set your timezone
  • Update the firewall: Port 80
  • Activate SMTP service [option]
  • Install MySQL
  • Install Tomcat

After that just follow the normal install procedure


Maintaining the solution

Tips for maintaing you solution

  • Consider instance termination protection
  • Backup: Can be taken as EBS snapshots
  • Monitor: Activate CloudWatch for the instance