AWS Infrastructure
Describes the steps necessary to provision and decommission AWS Infrastructure for XOOM Cloud
Last updated
Describes the steps necessary to provision and decommission AWS Infrastructure for XOOM Cloud
Last updated
It is helpful to have prior knowledge of Kubernetes (and kubectl), AWS Command Line Interface (CLI), Amazon EKS, AWS IAM, HELM, HELM, and YAML.
Throughout this documentation 123456789012
has been used as an example of an AWS Account Id. Please replace it with your AWS Account Id.
To use XOOM Cloud you will need to install some tools. The following provides the most common options.
This is the installation guide for kubectl
:
As an alternative, Docker Desktop (free for small businesses) can be used as well. It provides a Kubernetes development environment and comes together with kubectl
command. Here are the installation instructions for Docker Desktop:
This is the installation guide for aws
command line tool:
It is recommended that you install v2 of the AWS CLI. Configure this tool by running:
You will use EKS, the Amazon Elastic Kubernetes Service. See the documentation for EKS:
See also the Installation guide for the eksctl
command line tool:
There will be some use of the AWS IAM, the Identity and Access Management components. You will find the documentation here:
HELM is a package manager for Kubernetes. To installation the tool, see the quite-start guide for the helm
command line tool:
Please replace xoom-cloud-demo
and us-east-1
values with the ones most appropriate for your service or application. Note that the creation of a Kubernetes Cluster requires approximately 30 minutes.
To decommission the cluster, use the following command, which is also parameterized with the xoom-cloud-demo
that must be replaced with your service or application name:
The XOOM Cloud Operator requires a Kubernetes Service Account with IAM roles in order to access Amazon Marketplace Metering API.
Create an AWS IAM policy:
Content for xoom-cloud-pod-policy.json
:
The command will output policy information including policy ARN. Please save this ARN. You will need it at the next step.
Alternatively, you can check the policies by running the following command and save XoomCloudPodPolicy
policy ARN for later usage:
The policy's ARN looks like this:
Policy decommission command:
Create a Kubernetes IAM Service Account:
The following is a service account decommission command:
You will create a Kubernetes Cluster to deploy an application built with and XOOM Cloud product. The following ins an example using the :