# Additional components configuration

1. Compute components include EC2 instance, security group, and security group rule. the EC2 instance is an Ubuntu server with a basic NGINX server
2. Network load balancer, listener and target group. The target group has the EC2 instance registered to serve the web requests
3. Internet Gateway and its associated routing components

The configuration of each of these components is beyond the scope of this document.

The deployment of the sample configuration is done via a single QMCLOUD stack and all the resources can be referenced in additional stack if required to extend the infrastructure.

QMCLOUD generates the infrastructure code automatically and can be stored in a GitHub repository if required. QMCLOUD can be integrated using REST API's with various CI/CD tools for orchestration.

The following diagram depicts the overall stack on the canvas, the configuration details (outputs from each of the components) and the code that is generated by QMCLOUD:

<figure><img src="/files/N1VC3YT99wuWK6gUpAuo" alt=""><figcaption><p>QMCLOUD stack on the canvas, configuration details and the associated auto generated code</p></figcaption></figure>

This completes the walk through for this sample deployment.


---

# 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://docs.qmcloud.io/examples/deploy-aws-firewall-and-networking-with-qmcloud/additional-components-configuration.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.
