Changes between Version 89 and Version 90 of InstallationGuidelines/Amazon
- Timestamp:
- 10/22/14 20:50:14 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallationGuidelines/Amazon
v89 v90 11 11 12 12 == 2. Create Instance == 13 === Step1: Log in to the Management Console ===13 === 1: Log in to the Management Console === 14 14 * https://console.aws.amazon.com 15 15 16 === Step2: Select a Region ===16 === 2: Select a Region === 17 17 Amazon supports multiple Regions in order to provide a service closest to your users. 18 18 * Namespaces of Instances, Volumes & Snapshots are unique only within a Region. … … 21 21 * Bandwidth transfers are free within an Availability Zone 22 22 23 === Step3: Launch a new Instance ===24 25 === Step4: Choose an Amazon Machine Image (AMI) ===23 === 3: Launch a new Instance === 24 25 === 4: Choose an Amazon Machine Image (AMI) === 26 26 * Recommend using the AWS Marketplace Debian 64-bit image (as this has a sufficiently large HDD to start with & is EBS-backed, so has persistent storage even whilst powered down) 27 27 * In time we may provide pre-built "Sahana Eden" AMIs (some old unmaintained ones may be available in some regions) … … 29 29 * Larger production instances can only run 64-bit, so can't have the exact same image used. 30 30 31 === Step5: Choose an Instance Type ===31 === 5: Choose an Instance Type === 32 32 * The free starter 'micro' instance is flexible as it can run both 32-bit & 64-bit Operating Systems. 33 33 34 === Step 5: Configure Instance Details ===34 === 6: Configure Instance Details === 35 35 Default settings are fine 36 36 37 === Step 6: Create !KeyPair ===37 === 7: Create !KeyPair === 38 38 Ensure that you keep the generated private key safe...save as {{{private.pem}}} 39 39 40 === Step 7: Associate Elastic IP ===40 === 8: Associate Elastic IP === 41 41 Each time you start an instance up, it will be assigned a new IP ('Public DNS') although this can be overcome using an Elastic IP: 42 42 … … 50 50 NB If you have a free EC2 instance, be sure to release your Elastic IP if you shut down your instance. IPv4 addresses are a "scarce resource" so Amazon will charge you for wasting one if you keep it assigned to your instance while you are not using it. 51 51 52 === Step 8: Configure Security Group ===52 === 9: Configure Security Group === 53 53 NETWORK & SECURITY > Security Groups 54 54 … … 58 58 Restricting the source will add further security, but obviously also restricts your ability to administer 59 59 60 === Step 9: Gain SSH access ===60 === 10: Gain SSH access === 61 61 In order to get the public key (needed by SecureCRT for instance) then you need to login using CLI & retrieve it (username 'admin' for the AWS !MarketPlace Debian, username 'root' for some other Images): 62 62 {{{ … … 84 84 Thanks to: http://itkbcentral.blogspot.co.uk/2011/07/replace-lost-key-pair-existing-aws-ec2.html 85 85 86 === Step 10: Add Swapfile ===86 === 11: Add Swapfile === 87 87 You should add swap from a swap file in order to improve performance (especially on a Micro instance): 88 88 {{{