Amazon Web Services Website Hosting Fundamentals: Difference between revisions
No edit summary |
|||
| Line 3: | Line 3: | ||
Topics related to setting up and managing a static website hosted by Amazon Web Services. | Topics related to setting up and managing a static website hosted by Amazon Web Services. | ||
== AWS services == | == AWS services == | ||
| Line 21: | Line 13: | ||
** manages roles defining credentials for software running on EC2 instances<ref>[http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html IAM Roles for Amazon EC2] - Amazon EC2 User Guide for Linux Instances</ref> <ref>[http://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html Roles (Delegation and Federation)] - IAM User Guide</ref> | ** manages roles defining credentials for software running on EC2 instances<ref>[http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html IAM Roles for Amazon EC2] - Amazon EC2 User Guide for Linux Instances</ref> <ref>[http://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html Roles (Delegation and Federation)] - IAM User Guide</ref> | ||
* '''[https://console.aws.amazon.com/s3/ S3''' - Service for disk space. It's necessary to create a S3 bucket for web applications in order to preserve files when Elastic Beanstalk instances are reconfigured and restarted. | * '''[https://console.aws.amazon.com/s3/ S3''' - Service for disk space. It's necessary to create a S3 bucket for web applications in order to preserve files when Elastic Beanstalk instances are reconfigured and restarted. | ||
== Pricing == | |||
There are different types of EC2 instances, at different price points. The cheapest is '''On Demand''', which can be created and destroyed as needed. '''Reserved''' EC2 instances can be purchased for either 1 or 3 year periods at significant savings compared to On Demand instances. | |||
A new On Demand EC2 is created [[Hosting_A_PHP_Web_Application_On_AWS|when a new Elastic Beanstalk environment is created]]. In order to bill that EBS instance as Reserved, purchase a Reserved EC2 instance that matches both the Server Type (e.g. t2.nano, t2.micro, etc.) and the region of the EC2 instance created for the EBS. As long as there is a reserved EC2 instance that matches the instances that have been created for the EBS environments, those EC2 instances will be billed at the reserved rates. <ref>[https://forums.aws.amazon.com/message.jspa?messageID=232310#232310 Converting from On Demand to Reserved Instances] - AWS Developer Forums</ref> | |||
== Notes == | == Notes == | ||
Revision as of 19:20, 20 July 2018
Overview
Topics related to setting up and managing a static website hosted by Amazon Web Services.
AWS services
- EC2 - virtual application server; server & software
- Elastic Beanstalk - Service to run web applications. Creating an Elastic Beanstalk application will create an EC2 instance. Creating an Elastic Beanstalk environment can also create an RDS instance, if a database is needed.
- RDS - Amazon Relational Database Service supports database servers
- IAM
- [https://console.aws.amazon.com/s3/ S3 - Service for disk space. It's necessary to create a S3 bucket for web applications in order to preserve files when Elastic Beanstalk instances are reconfigured and restarted.
Pricing
There are different types of EC2 instances, at different price points. The cheapest is On Demand, which can be created and destroyed as needed. Reserved EC2 instances can be purchased for either 1 or 3 year periods at significant savings compared to On Demand instances.
A new On Demand EC2 is created when a new Elastic Beanstalk environment is created. In order to bill that EBS instance as Reserved, purchase a Reserved EC2 instance that matches both the Server Type (e.g. t2.nano, t2.micro, etc.) and the region of the EC2 instance created for the EBS. As long as there is a reserved EC2 instance that matches the instances that have been created for the EBS environments, those EC2 instances will be billed at the reserved rates. [3]
Notes
Resources
- Hosting a Web App - Getting Started with AWS
References
- ↑ IAM Roles for Amazon EC2 - Amazon EC2 User Guide for Linux Instances
- ↑ Roles (Delegation and Federation) - IAM User Guide
- ↑ Converting from On Demand to Reserved Instances - AWS Developer Forums