Recommendations and best practices

Here are some key best practices and recommendations that you ought to keep in mind when working with Amazon S3:

  • Before creating your buckets, plan and choose a region that has closer proximity to your users. You may also want to consider any legal or regulatory compliance before selecting a particular region.
  • Leverage S3's versioning and lifecycle management for automatically archiving or cleaning up of your buckets and objects. This will help you save a lot on storage costs as well.
  • Employ server-side encryption for encrypting your data at rest. Although all objects and buckets in S3 are private by default, you can still enforce additional security by encrypting them using either AWSKMS or using S3 Managed Keys.
  • Design and use bucket policies for restricting delete operations on buckets. You can even enable Multi-factor authentication (MFA) for certain users who will be required to provide additional authentication to perform a change in an object's version ID or even delete it.
  • Leverage multi-part upload when it comes to uploading large objects into Amazon S3. Using multi-part uploads, you can even resume your upload process in case it was abruptly stopped or failed.
  • You can optionally enable Amazon CloudFront to speed up your static website's performance as well by caching your HTML code, photos, and videos. To know more about how you can leverage CloudFront for your S3 buckets, go to http://docs.aws.amazon.com/gettingstarted/latest/swh/getting-started-create-cfdist.html.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset