> For the complete documentation index, see [llms.txt](https://docs-us.codetech.online/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-us.codetech.online/technology/infrastructure.md).

# Infrastructure

Introduction to the Financial Gateway infrastructure

{% hint style="info" %}
**Details:** In this document we clearly present the structure and service infrastructure of the Financial Gateway.<br>

**Objective:** The objective is to inform and direct new clients and partners with the methodologies applied by Code Tech.
{% endhint %}

### Infrastructure

The microservices ecosystem relies on an AWS infrastructure and other components:

{% hint style="info" %}
**BitBucket/ Github:** Source code repository.&#x20;

**AWS Secret Manager:** Key and value repository.&#x20;

**AWS Elastic Search:** Event logging tool.&#x20;

**DynamoDB:** Non-relational database.&#x20;

**MongoDB**: Data management.&#x20;

**Kibana:** Logging tool&#x20;

**PM2:** Orchestrator&#x20;

**PM2 Monitor:** Service monitoring
{% endhint %}

<figure><img src="https://lh7-us.googleusercontent.com/bFltlnESg_NKfaZDbaGB5J0Xku2DtTEEJsQtYbYLB9AR9gE9_bKuaz6nvhbMmyHJYK-wvqAqDJapn0mcqC1NljXXGK-5eSSkIUoVvOUYu2mL4GgUen8yNBxfPWSe6iqUneiUm3Quk3hslp0LGnvkA08" alt=""><figcaption><p>Infrastructure</p></figcaption></figure>

{% hint style="info" %}
**BitBucket/Github:** Repository responsible for storing the application's source code.&#x20;

**AWS S3 Bucket:** AWS Simple Storage Service, used for storing artifacts (any file).&#x20;

**AWS Event Rule:** Rules that correspond to S3 Bucket events. When a new version of the application is found in the environment, it starts the build process.&#x20;

**AWS CodePipeline:** Continuous delivery orchestrator service, helps automate deliveries in the environments (develop, pre-production, production and approval).&#x20;

**AWS CodeBuild:** Service that compiles source code, performs tests and produces software packages ready for deployment.&#x20;

**AWS ECR:** Elastic Container Registry, used for secure Docker image management on Amazon. It stores the compiled images.&#x20;

**AWS ECS:** Elastic Container Service, high-performance service for container orchestration, compatible with Docker. It orchestrates the ECR's Docker images and promotes delivery in the region to which the environment will be made available.
{% endhint %}
