In this recipe, we'll make use of the
aws-s3 (0.12.3) plugin to upload files to an
AWS S3 bucket.
This service doesn't provide a CDN setup by default, but can be easily integrated with AWS CloudFront in order to speed up the distribution of the hosted files.
In this example, we'll work with the basic project structure that we created in the Installing Grunt on a project recipe in Chapter 1, Getting Started with Grunt. Be sure to refer to it if you are not yet familiar with its contents.
In addition to the standard project setup, the following recipe will also require the setup of an AWS user with an AWS access key.
Refer to the following URL for details on how to obtain your AWS security credentials: