0.96.0 • Published 3 years ago

h0ck-infrastructure v0.96.0

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

H0ck Framework - Infrastructure

Repository for H0ck Framework Infrastructure. In this repository all the configuration, data and files for the deployment in AWS is stored.

This is also a NPM package that can be executed in with a command line interface:

npx h0ck-infrastructure

The stacks used in the deployment are specified in the /lib folder. There is one file for each one of the component. This component implements the AWS CDK framework. All the info about this framework can be found on

https://aws.amazon.com/es/cdk/

Services deployed

EC2 Machine

By default one instance of a T2 micro with linux is deployed. A docker compose is sent to the EC2 and executed to deploy the H0ck Core API together with a Redis database. Finally the IP of the machine is extracted to a environment variable used in the deploy for the next service, the AWS S3 Bucket.

S3 Bucket

The deployment creates a S3 buckets with all the files contained in the frontfiles folder. The front files are already in the folder, but the react app will be built before deployment to have the latest version and to create the infrastructure.json file with the IP of the EC2 machine previously deployed on it.

By default, once the application is destroyed the bucket together with all the files are removed.

Lambda functions

The final service to be deployed are the specified lambda functions. The amount of lambda deployment and its configuration can be changed in the h0ck-infrastructure.yaml file. This file contains which amount of lambdas should be deployed for each one of the frameworks availables.

Lambdas uses AWS Lambda Layers so each instance of a Lambda only takes some bytes of space. The more lambdas are deployed, the more IPs will be available for the H0ck framework to use and to distribute the jobs.

0.93.0

3 years ago

0.94.0

3 years ago

0.91.0

3 years ago

0.96.0

3 years ago

0.92.0

3 years ago

0.85.0

3 years ago

0.81.0

3 years ago

0.78.0

3 years ago

0.86.0

3 years ago

0.82.0

3 years ago

0.79.0

3 years ago

0.90.0

3 years ago

0.75.0

3 years ago

0.87.0

3 years ago

0.83.0

3 years ago

0.76.0

3 years ago

0.88.0

3 years ago

0.84.0

3 years ago

0.80.0

3 years ago

0.77.0

3 years ago

0.89.0

3 years ago

0.62.0

3 years ago

0.64.0

3 years ago

0.60.0

3 years ago

0.59.0

3 years ago

0.57.0

3 years ago

0.55.0

3 years ago

0.74.0

3 years ago

0.53.0

3 years ago

0.51.0

3 years ago

0.70.0

3 years ago

0.72.0

3 years ago

0.48.0

3 years ago

0.67.0

3 years ago

0.69.0

3 years ago

0.63.0

3 years ago

0.65.0

3 years ago

0.61.0

3 years ago

0.58.0

3 years ago

0.56.0

3 years ago

0.54.0

3 years ago

0.52.0

3 years ago

0.50.0

3 years ago

0.71.0

3 years ago

0.49.0

3 years ago

0.66.0

3 years ago

0.68.0

3 years ago

0.43.0

3 years ago

0.41.0

3 years ago

0.46.0

3 years ago

0.44.0

3 years ago

0.40.0

3 years ago

0.39.0

3 years ago

0.47.0

3 years ago

0.45.0

3 years ago

0.38.0

3 years ago

0.37.0

3 years ago

0.36.0

3 years ago

0.35.0

3 years ago

0.34.0

3 years ago

0.33.0

3 years ago

0.32.0

3 years ago

0.31.0

3 years ago

0.30.0

3 years ago

0.29.0

3 years ago

0.28.0

3 years ago

0.27.0

3 years ago

0.26.0

3 years ago

0.25.0

3 years ago

0.24.0

3 years ago

0.23.0

3 years ago

0.22.0

3 years ago

0.21.0

3 years ago

0.20.0

3 years ago

0.19.0

3 years ago

0.18.0

3 years ago

0.17.0

3 years ago

0.16.0

3 years ago

0.15.0

3 years ago

0.14.0

3 years ago

0.13.0

3 years ago

0.12.0

3 years ago

0.11.0

3 years ago

0.10.0

3 years ago

0.9.0

3 years ago

0.8.0

3 years ago

0.7.0

3 years ago

0.6.0

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago