Recent changes include implementations of: ListObjectsV2 CopyObject DeleteObjectsĪdditionally, this module now implements Signature Version 4 signing, unit tests have been updated and more documentation has been added or corrected. This module is rather dated, however with some help from a few contributors it has had some recent updates. This documentation refers to version 0.63.Īmazon::S3 provides a portable client interface to Amazon Simple Storage System (S3). # store a key with a content-type and some optional metadata My $aws_secret_access_key = "Fill me in too!" LIMITATIONS AND DIFFERENCES WITH EARLIER VERSIONSĪmazon::S3 - A portable client library for working with and managing Amazon S3 buckets and keys.We would make use of another AWS service called CloudFront together with Route 53 and Certificate Manager to host a secure website on S3. Keep in mind that although we have this nifty feature, it’s not the recommended method of hosting a website. If we’ve configured everything correctly, the index.html file will be loaded when we navigate to the URL. The default URL for an S3-hosted website takes the form: So if our example bucket linux-is-cool is hosted in the us-east-1 region, the website URL would be: We added two key parameters as well: index-document is important as it tells S3 which page to use as the default landing page for visitors to our site, while error-document tells S3 which page to serve as the default error page. Bucket permissions are handled automatically. The website command instructs S3 to configure the bucket to behave like a website. Let’s look at the website command: $ aws s3 website s3://linux-is-cool -index-document index.html -error-document error.html ![]() We need to configure our bucket in a specific way to enable this feature. We can use a unique S3 feature that enables us to use an S3 bucket for hosting a website.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |