# Tutorials

{% hint style="info" %}
This page was generated from content adapted from the [AWS Developer Guide](https://github.com/awsdocs/aws-datasync-user-guide.git)
{% endhint %}

## Transferring from on-premises to S3 in another account

* **Important**\
  Copying data across AWS accounts by using the methods in this tutorial works only when Amazon S3 is one of the DataSync locations.

## Transferring from S3 to S3 in another account

* **Important**\
  Copying data across AWS accounts using the methods in this tutorial works only with Amazon S3.
* **Tip**\
  Follow this tutorial if your S3 buckets are also in different AWS Regions. The process is mostly the same except for some extra steps. Keep in mind, however, that DataSync doesn't support these kinds of transfers for [Regions disabled by default](https://docs.aws.amazon.com/general/latest/gr/rande-manage.html).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://awsnotes.dendron.so/migration-and-transfer/aws-datasync/common/tutorials.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
