# Prerequisites

Before deploying SCA360, you must set up essential AWS resources to ensure the CloudFormation stack can launch successfully. These include a VPC ID, a Subnet ID, and a Key Pair for secure access to the VM. If you are deploying through Open Virtual Applicance (OVA), see [<mark style="color:$primary;">Deploying SCA360 through Open Virtual Applicance (OVA)</mark>](https://docs.veedna.com/sca360-flexible-deployment-for-data-center-cloud-integrated-environments/deploying-lineaje-sca360)<mark style="color:$primary;">.</mark>

<details>

<summary>Create a Virtual Private Cloud Identifier (VPC ID) in AWS</summary>

A VPC is your own isolated network within AWS where you can launch resources like EC2 instances and databases. The VPC ID helps AWS and you identify which VPC a resource belongs to.&#x20;

To create a VPC ID in AWS:

1. Sign in to the [Amazon VPC console](https://console.aws.amazon.com/vpc/).
2. Navigate to **VPC** service.
3. Click **Create VPC**.
4. Choose **VPC only** or **VPC and more** (for subnets, route tables, etc.).
5. In the form that appears:
   * **Name tag**: Enter a name for your VPC (e.g., `MyVPC`).
   * **IPv4 CIDR block**: Enter a CIDR block (e.g., `10.0.0.0/16`).
   * **IPv6 CIDR block** (optional): Enter an IPv6 CIDR block.
   * **Tenancy**: Select tenancy type (e.g., `Default`).
6. Click **Create VPC**.
7. The VPC ID is displayed after creation (e.g., `vpc-0a1b2c3d4e5f67890`). You’ll choose this VPC ID during the SCA360 deployment process.

</details>

<details>

<summary>Create a Subnet ID in AWS</summary>

A Subnet ID is a unique identifier for a Subnet within a VPC. A subnet divides your VPC into smaller segments. Each subnet resides in a specific Availability Zone and can be public (internet-facing) or private (internal only).&#x20;

To create a Subnet ID in AWS:

1. In the **VPC Dashboard**, select **Subnets**.
2. Click **Create subnet**.
3. In the configuration window:
   * **VPC ID:** Select the VPC you created earlier.
   * **Subnet name:** Enter a name for your subnet (e.g., `PublicSubnet`).
   * **Availability Zone:** Choose an availability zone (e.g., `us-east-1a`).
   * **IPv4 CIDR block:** Enter a CIDR block (e.g., `10.0.1.0/24`).
4. Click **Create subnet**.
5. The **Subnet ID** is displayed after creation (e.g., `subnet-1234abcd`). You’ll choose this Subnet ID during the SCA360 deployment process

</details>

<details>

<summary>Create a Key Pair in AWS</summary>

A Key Pair is a combination of a public key and a private key used for secure access to EC2 instances. When you launch an EC2 instance, you associate it with a key pair. The private key (stored by you) is used to SSH into the instance, while AWS keeps the public key.&#x20;

To create a Key Pair in AWS:

1. Navigate to the [**Amazon** **EC2**](https://console.aws.amazon.com/ec2/) service.
2. In the left-side navigation, click **Key Pairs**.
3. Click **Create key pair**.
4. In the configuration window:
   * **Key pair name:** Enter a name for your key pair (e.g., `MyKeyPair`).
   * **Key pair type:** Select a type (e.g., `RSA`).
   * **Private key format:** Choose a format (e.g., `PEM`).
5. Click **Create key pair**.
6. AWS downloads the private key file (e.g., `my-keypair.pem`). You’ll choose this Key Pair during the SCA360 deployment process.

</details>
