Using an Amazon S3 Bucket - AWS OpsWorks

Using an Amazon S3 Bucket

Important

AWS OpsWorks Stacks is no longer accepting new customers. Existing customers will be able to use the OpsWorks console, API, CLI, and CloudFormation resources as normal until May 26, 2024, at which time they will be discontinued. To prepare for this transition, we recommend you transition your stacks to AWS Systems Manager as soon as possible. For more information, see AWS OpsWorks Stacks End of Life FAQs and Migrating your AWS OpsWorks Stacks applications to AWS Systems Manager Application Manager.

Applications often use an Amazon Simple Storage Service (Amazon S3) bucket to store large items such as images or other media files. Although AWS OpsWorks Stacks does not provide integrated support for Amazon S3, you can easily customize a stack to allow your application to use Amazon S3 storage. This topic walks you through the basic process of providing Amazon S3 access to applications, using a Linux stack with a PHP application server as an example. The basic principles also apply to Windows stacks.

Content delivered to Amazon S3 buckets might contain customer content. For more information about removing sensitive data, see How Do I Empty an S3 Bucket? or How Do I Delete an S3 Bucket?.