Reviewing the components within application platform services
Video: Reviewing the components within application platform servicesThe middle tier contains the Application Platform Services which perform specific functions as part of a greater application. The first category is Content Distribution, which has just one service, Amazon CloudFront. Amazon CloudFront is a Content Delivery Network for files of any size ranging from tiny files, like stylesheets and images, to large files like installers or large media, like movies or audio. Unlike S3, CloudFront serves content from geographically distributed edge locations to deliver content from locations closer to users which increases performance.
- What is AWS?
Viewers: in countries Watching now:
Discover how Amazon Web Services (AWS) can be leveraged to deploy and scale your web applications. Author Jon Peck demonstrates how to build a simple application leveraging the Amazon cloud services while introducing the wide variety of products and services provided with AWS.
This course starts with an overview of the foundational services, such as Amazon EC2 for virtual servers, Amazon S3 for online data storage, and Amazon RDS for a scalable database solution. Plus, explore how application services such as the Amazon Simple Notification Service can reduce overhead. Jon combines these services in the final chapter, where he builds, deploys, and monitors an application.
- What is Amazon Web Services?
- Understanding the AWS terminology
- Exploring the foundation services
- Using tools for managing and administration of AWS
- Signing up for services
- Launching and managing EC2 instances
- Configuring the software development kit (SDK) with AWS credentials
- Storing objects in Amazon S3
- Pushing notifications
- Managing the workflow
Reviewing the components within application platform services
The middle tier contains the Application Platform Services which perform specific functions as part of a greater application. The first category is Content Distribution, which has just one service, Amazon CloudFront. Amazon CloudFront is a Content Delivery Network for files of any size ranging from tiny files, like stylesheets and images, to large files like installers or large media, like movies or audio. Unlike S3, CloudFront serves content from geographically distributed edge locations to deliver content from locations closer to users which increases performance.
CloudFront supports both origin-pull and push mechanisms, meaning it can serve content found on an existing web server or files can be uploaded to it to serve. CloudFront supports both static unchanging content like logo images and dynamic content driven by a database that changes on regular intervals, like news or a blog. The next category, Messaging contains three acronym filled services. The Amazon Simple Notification Service or SNS can be used to push messages via a number of protocols, including HTTP, email and SMS.
However, the service requires verification from the recipient. So it's good for event-driven internal notifications like warnings, service notifications and status updates. Due to the verification step, it's more cumbersome to use to send messages to servers. So there is another service that is tailored for that. I'm going to use SNS to send admin alerts in the watermarking application. The Amazon Simple Queue Service, or SQS, provides a mechanism for automating workflow messages between computers.
These messages are simple and small. There's a maximum for each message of 64 KB. The messages are sent, received, and deleted in batches of 10. I'm going to use SQS to manage the image watermarking workflow. Neither SQS or SNS is good for messaging groups of users which brings me to the last messaging service. The Amazon Simple Email Service, or SES, provides bulk transactional emails such as notifications to users upon events. It can also be used for newsletters and other sorts of large mailings.
SES also provides support for DomainKeys Identified Mail in association with the domain to improve deliverability and to fight spam. Email can be sent via SMTP for an easy replacement solution or using an application programming interface or API. The third category, Search, has one service, Amazon CloudSearch, which depending on the graph that you look at isn't available, but it is. Amazon CloudSearch is a stand-alone autoscaling fully managed search platform.
Boasting near real-time indexing, CloudSearch is intended to be an easier to implement, maintain, and scale solution than stand -alone solutions like Apache Solar. Need to do parallel processing? The Distributed Computing category has a couple of powerful solutions which I'll cover in a high level now. But in general, there are more advanced topics that I won't get into in this course. Amazon Elastic MapReduce, or EMR, is a hosted Apache Hadoop open source framework for data intensive application for clustered hardware running on EC2 NS3. While the Name MapReduce can evoke geospatial analysis in actual mapping, it's really something completely different.
In short, Elastic refers to the ability to scale up and down, and mapping breaks data into smaller chunks. The chunks are processed in parallel then recombined, or reduced, into a final product that can be downloaded. Elastic MapReduce is designed for working with huge datasets spanning gigabytes or terabytes. AWS also provides options for Workflow Management as well, starting with the Amazon Simple Workflow Service or SWF. Despite the name, it's not that simple.
Acting as a coordination hub for applications, SWF maintains an application state between its pieces and components. Each workflow execution is tracked and the progress is logged and tasks are assigned to dispatch to a particular host. SWF is useful for complex applications with multiple steps in a distributed workflow. The final components of the Application Platform Services are the Libraries & Software Development Kits. These interact with Amazon Web Services, but aren't services themselves.
AWS provides Libraries & SDKs including Java, PHP, Python, Ruby and .NET. While this is not a programming course, I will be demonstrating small amounts of code. I've selected PHP for examples, because of its broad user database and readability, and I'll provide all the code in order to focus on Amazon Web Services.
There are currently no FAQs about Up and Running with Amazon Web Services.