> ## Documentation Index
> Fetch the complete documentation index at: https://docs.levelblue.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Uploading AWS CloudFormation Templates

Through USM Anywhere you can generate the <Tooltip tip="Suite of cloud computing services from Amazon that make up an on-demand computing platform.">Amazon Web Service (AWS)</Tooltip> CloudFormation templates that you need to begin gathering data from your Amazon Simple Storage Service (S3) buckets or AWS Inventory. See [Downloading an Existing AWS Cloud Connector Template](/documentation/usm-anywhere/user-guide/cloud-connector/aws/downloading-template) for more information.

**To upload an AWS CloudFormation template**

1. Open your **AWS Management Console** page, and then go to **CloudFormation**.
2. Click **Create Stack > With new resources (standard).**
3. Select **Upload a Template File**, and then click **Choose File** to select the template you have downloaded from USM Anywhere.

   <Frame>
     <img src="https://mintcdn.com/levelblue-5324744e/gquiOMNhzY0zw0n7/images/usm-anywhere/deployment-guide/cloud-connector/uploadtemplate.webp?fit=max&auto=format&n=gquiOMNhzY0zw0n7&q=85&s=70158ea2806d0eecff453d0314a01a65" alt="" width="912" height="510" data-path="images/usm-anywhere/deployment-guide/cloud-connector/uploadtemplate.webp" />
   </Frame>
4. Click **Next**.
5. In the **Stack Name** text box, enter a name for your stack.
6. Use the **bucketArns** field to enter the Amazon S3 buckets' names where you currently store security logs.

   <Note>
     This step is not required when uploading a template for AWS Inventory.
   </Note>

   There are two options:

   * Enter the existing Amazon S3 bucket Amazon Resource Names (ARNs) that contain the logs you would like to monitor. You can enter several ARNs separated by commas.

     <Warning>
       **Important:** If you choose this option, you must enable the event notifications. See [To enable the event notifications for Amazon S3 buckets you have selected](uploading-cloud-formation-template) for more information.
     </Warning>
   * Leave this field empty and a new Amazon S3 bucket will be automatically created.

   <Frame>
     <img src="https://mintcdn.com/levelblue-5324744e/adIUcnBkryqG7nEE/images/usm-anywhere/deployment-guide/cloud-connector/specifystackdetails.webp?fit=max&auto=format&n=adIUcnBkryqG7nEE&q=85&s=48cc9d5a9ec0905aeef09c65efa05ed1" alt="" width="903" height="378" data-path="images/usm-anywhere/deployment-guide/cloud-connector/specifystackdetails.webp" />
   </Frame>

   <Note>
     **Note:** If you later decide to enter new or additional Amazon S3 buckets, you can return to this page and add them.
   </Note>
7. Click **Next**.
8. **(OPTIONAL)** If your organization requires tags, you may enter them at this point. You can also leave them blank.
9. Click **I Acknowledge that AWS CloudFormation Might Create IAM Resources with Custom Names**.
10. Click **Create Stack**.

    <Frame>
      <img src="https://mintcdn.com/levelblue-5324744e/adIUcnBkryqG7nEE/images/usm-anywhere/deployment-guide/cloud-connector/createdstack.webp?fit=max&auto=format&n=adIUcnBkryqG7nEE&q=85&s=931233e10f8ec97bd5bf28c55456c0a5" alt="" width="1284" height="556" data-path="images/usm-anywhere/deployment-guide/cloud-connector/createdstack.webp" />
    </Frame>

**To enable the event notifications for Amazon S3 buckets you have selected**

<Warning>
  **Important:** You must enable event notifications if you have entered your Amazon S3 bucket ARNs in the **bucketArns** field. If you left this field empty, it is not necessary to enable the event notifications. If you do not follow these instructions, USM Anywhere will not receive events from your Amazon S3 buckets.
</Warning>

1. Open your **AWS Management Console** page, and then go to **CloudFormation**.
2. Select the buckets you entered previously in the bucketArns field.
3. Click the **Properties** tab.
4. Click **Create Event Notification** to enable the event notifications.

   <Frame>
     <img src="https://mintcdn.com/levelblue-5324744e/adIUcnBkryqG7nEE/images/usm-anywhere/deployment-guide/cloud-connector/createeventnotification.webp?fit=max&auto=format&n=adIUcnBkryqG7nEE&q=85&s=267f8f5c54bbffad9480055a7841ba93" alt="" width="1286" height="521" data-path="images/usm-anywhere/deployment-guide/cloud-connector/createeventnotification.webp" />
   </Frame>
5. In the **General Configuration** section, enter an **Event Name**.
6. In the **Event Types** section, select the **All Object Create Events** option.
7. In the **Destination** section, select the **SNS Topic** option, and **Choose from Your SNS Topics**. In the **SNS Topic** drop-down list, select **attcs-s3-connector**.

   <Frame>
     <img src="https://mintcdn.com/levelblue-5324744e/adIUcnBkryqG7nEE/images/usm-anywhere/deployment-guide/cloud-connector/snstopic.webp?fit=max&auto=format&n=adIUcnBkryqG7nEE&q=85&s=947bc06bad8fdae9d4206b5fd5ba1a56" alt="" width="574" height="433" data-path="images/usm-anywhere/deployment-guide/cloud-connector/snstopic.webp" />
   </Frame>
8. Click **Save Changes**.
9. Go to USM Anywhere to enable the AWS Cloud Connector.

   See [Cloud Connector List View](/documentation/usm-anywhere/user-guide/cloud-connector/aws/aws-cc-list-view) for more information.
