docs/source/scale-with-bentocloud/administering/bring-your-own-cloud/aws.rst
As part of our commitment to ensuring a smooth and efficient onboarding process, we have prepared this setup guide to help your DevOps team integrate BentoCloud into your AWS account.
To ensure there are no delays in your cluster setup, please make sure you have enough service quotas in your AWS account prior to starting the setup. If not, please request increased quotas in the region where you will deploy BentoCloud.
To request quotas:
Visit the AWS Service Quotas console <https://console.aws.amazon.com/servicequotas/home/services/ec2/quotas>_ for your region.
Request quotas <https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html>_ as per your deployment plan. See the table below for quota details:
.. list-table:: :widths: 10 35 25 30 :header-rows: 1
Running On-Demand Standard (A, C, D, H, I, M, R, T, Z) instancesGPU
Depending on needs:
Running On-Demand G and VT instancesRunning On-Demand P instancesBased on needs
Run your workloads that require GPUs.
This setup process will establish an IAM Role to provide BentoCloud with the necessary access to a specific set of AWS services. This access is crucial for BentoCloud to deploy and manage cloud components within your AWS environment. The process utilizes a predefined CloudFormation template, as outlined in the steps below.
Log in to your organization's account on AWS.
Go to the CloudFormation <http://console.aws.amazon.com/cloudformation/home>_ web console. Ensure you are in the desired AWS region. Switch region if necessary.
On the Stacks page, choose Create stack > With new resources (standard).
.. image:: ../../../_static/img/bentocloud/administering/byoc/aws/stack-with-new-resources.png :alt: Screenshot of AWS CloudFormation console showing the "Create stack with new resources" option
In the Create stack section, select Choose an existing template and Amazon S3 URL to paste the following URL, and then click Next:
.. code-block:: bash
https://customer-helpdesk.s3.us-west-1.amazonaws.com/create-bentocloud-copilot-role-v10.json
.. image:: ../../../_static/img/bentocloud/administering/byoc/aws/create-stack.png :alt: Screenshot of AWS CloudFormation "Create stack" interface showing template selection with Amazon S3 URL option
In the Specify stack details section, provide the following information and click Next.
bentocloudarn:aws:iam::303081928216:role/bentocloud-copilot-[organization_name].. image:: ../../../_static/img/bentocloud/administering/byoc/aws/specify-stack-details.png :alt: Screenshot of AWS CloudFormation "Specify stack details" page showing stack name and BentoCloudCopilot ARN input fields
In the Configuring stack options section, keep the default selections and click Next.
In the Review and create section, scroll down to Capabilities to acknowledge IAM Role creation, and click Submit.
Share the InstallerRole value with the BentoML team.
a. Go to CloudFormation > Stacks > bentocloud, and wait until the stack enters the following state:
.. image:: ../../../_static/img/bentocloud/administering/byoc/aws/aws-state-one.png :alt: Screenshot of AWS CloudFormation console showing the stack creation in progress
.. image:: ../../../_static/img/bentocloud/administering/byoc/aws/aws-state-two.png :alt: Screenshot of AWS CloudFormation console showing the stack creation completed successfully
b. Go to the Outputs tab, and copy the value of InstallerRole.
.. image:: ../../../_static/img/bentocloud/administering/byoc/aws/value.png :alt: Screenshot of AWS CloudFormation Outputs tab showing the InstallerRole value that needs to be shared with the BentoML team
Please inform your main BentoML contact once the steps above are completed, and share the InstallerRole's value, and your AWS region with the BentoML team.
After that, the BentoML automation will continue the cluster setup, which typically takes 1 business day. The BentoML team typically will run a small test deployment on your AWS account to ensure the system is working correctly end-to-end.
You may revoke the authorization to BentoCloud copilot when there is no ongoing support ticket.
Go to the Identity and Access Management (IAM) console <https://console.aws.amazon.com/iam/>_.
In the navigation pane, select Roles > The copilot role.
.. image:: ../../../_static/img/bentocloud/administering/byoc/aws/bentocloud-copilot-iam.png :alt: Screenshot of AWS IAM console showing the BentoCloud copilot role that can be used to grant or revoke authorization
Removing/adding the AWS line from the Principal field will revoke/grant authorization to BentoCloud copilot.
Please reach out to us if you encounter any issues or have questions during the setup process. Our support team is available to assist you with:
You can contact our support team at [email protected] or through our support Slack channel.