# Source: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/using-s3-with-go-sdk.html

[](/pdfs/sdk-for-go/v1/developer-guide/aws-sdk-go-dg.pdf#using-s3-with-go-sdk "Open PDF")

[Documentation](/index.html)[AWS SDK for Go](/sdk-for-go/index.html)[Developer Guide](welcome.html)

AWS SDK for Go V1 has reached end-of-support. We recommend that you migrate to [AWS SDK for Go V2](https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/). For additional details and information on how to migrate, please refer to this [announcement](https://aws.amazon.com/blogs//developer/announcing-end-of-support-for-aws-sdk-for-go-v1-on-july-31-2025/).

# Amazon S3 Examples Using the AWS SDK for Go

Amazon Simple Storage Service (Amazon S3) is storage for the internet. The AWS SDK for Go examples can integrate Amazon S3 into your applications. The examples assume you have already set up and configured the SDK (that is, you’ve imported all required packages and set your credentials and region). For more information, see [Getting Started with the AWS SDK for Go](./setting-up.html) and [Configuring the AWS SDK for Go](./configuring-sdk.html).

You can download complete versions of these example files from the [aws-doc-sdk-examples](https://github.com/awsdocs/aws-doc-sdk-examples/tree/master/go/example_code/s3) repository on GitHub.

###### Topics

  * [Performing Basic Amazon S3 Bucket Operations](./s3-example-basic-bucket-operations.html)

  * [Creating Pre-Signed URLs for Amazon S3 Buckets](./s3-example-presigned-urls.html)

  * [Using an Amazon S3 Bucket as a Static Web Host](./s3-example-static-web-host.html)

  * [Working with Amazon S3 CORS Permissions](./s3-example-cors.html)

  * [Working with Amazon S3 Bucket Policies](./s3-example-bucket-policy.html)

  * [Working with Amazon S3 Bucket ACLs](./s3-example-bucket-acls.html)

  * [Encrypting Amazon S3 Bucket Items](./s3-examples-encryption.html)




![Warning](https://d1ge0kk1l5kms0.cloudfront.net/images/G/01/webservices/console/warning.png) **Javascript is disabled or is unavailable in your browser.**

To use the Amazon Web Services Documentation, Javascript must be enabled. Please refer to your browser's Help pages for instructions.

[Document Conventions](/general/latest/gr/docconventions.html)

Synthesizing Speech

Performing Basic Amazon S3 Bucket Operations

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.