110 likes | 194 Views
Lecture 15 – Amazon Network as a Service. Recall IaaS. Server as a Service Storage as a Service Network as a Service. We have created an EC2 instance (Server as a Service) We have attached an EBS volume to the instance (Storage as a Service).
E N D
Recall IaaS • Server as a Service • Storage as a Service • Network as a Service
We have created an EC2 instance (Server as a Service) • We have attached an EBS volume to the instance (Storage as a Service)
If the EC2 instance terminates, we can create another instance, and attache the EBS volume to the new instance (data are persistant) • But the IP address of the instance is not persistant! - you have to reconfigure the clients that rount to the server via IP - update your DNS server and wait for it to propagate • We can address this inconvience by using Amazon Elastic IP Address (Network as a Service)
Amazon’s Network as a Service • Security Group • Elastic IP Addresses • CloudFront
Elastic IP Address • Different types of IP addresses for EC2 instances - EC2 Private IP address: the private IP address is only routable within the EC2 cloud. - EC2 Public IP address: Internet routable address assigned to each EC2 instance. - EC2 Elastic IP address: Internet routable address allocated to an AWS EC2 account. But you can associate an Elastic IP addres to an EC2 instance. Infromation from http://aws.amazon.com/articles/1346
Each AWS account is allowed to have 5 elastic IP addresses (If you requires more than 5, you need to apply for it) • If you create an Elastic IP address without associating it with an instance, you will be charged $0.01 per hour.
Demo how to use Elastic IP address • Once you associate an elastic IP address with an EC2 instance, the original public IP address of the instance will be released.
Amazon CloudFront • Amazon CloudFront “delivers static and streaming contents using a global network of edge locations”. Infromation from http://aws.amazon.com/cloudfront
The map is directly copied from http://www.michaelgaigg.com/blog/2008/11/19/fast-faster-cloudfront-speed-matters/
The benefits of Amazon CloudFront - reduce the network latency - take off the load of your server - large number of requests can be processed simutaneously - Increase customer experience - Enable mobile clients - Protection of your content via redundency