{"id":18254689,"url":"https://github.com/bitcoin-sv/spv-wallet-aws","last_synced_at":"2025-04-04T17:30:44.507Z","repository":{"id":231476607,"uuid":"709665566","full_name":"bitcoin-sv/spv-wallet-aws","owner":"bitcoin-sv","description":"AWS Cloud Formation Template generator","archived":false,"fork":false,"pushed_at":"2024-10-28T14:44:13.000Z","size":75,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-28T17:22:28.221Z","etag":null,"topics":["aws","aws-cloudformation","bsv","spv-wallet","spv-wallet-team","spv-wallet-toolkit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitcoin-sv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-25T06:42:30.000Z","updated_at":"2024-08-13T09:57:46.000Z","dependencies_parsed_at":"2024-10-28T15:51:34.677Z","dependency_job_id":"08f6f007-3787-45e0-8589-ba88b7fcd1cc","html_url":"https://github.com/bitcoin-sv/spv-wallet-aws","commit_stats":null,"previous_names":["bitcoin-sv/spv-wallet-aws"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoin-sv%2Fspv-wallet-aws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoin-sv%2Fspv-wallet-aws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoin-sv%2Fspv-wallet-aws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoin-sv%2Fspv-wallet-aws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitcoin-sv","download_url":"https://codeload.github.com/bitcoin-sv/spv-wallet-aws/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223150706,"owners_count":17095959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-cloudformation","bsv","spv-wallet","spv-wallet-team","spv-wallet-toolkit"],"created_at":"2024-11-05T10:13:16.008Z","updated_at":"2024-11-05T10:13:16.633Z","avatar_url":"https://github.com/bitcoin-sv.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Enviroments\n\nEnvironment configuration for test and prod are kept in the config folder.\n\n### Config file structure\n\n```\n# Bucket to store the template file\ntemplate_bucket_name: spv-wallet-test-template  \n\n# Prefix for specific region asset bucket\nfile_asset_bucket_name_prefix: spv-wallet-test-marketplace-assets \n\n# AWS Regions set\nfile_asset_region_set:\n  - 'eu-central-1'\n  - 'us-east-1'\n  - 'eu-north-1'\n\n# Prefix for files in all buckets\nfile_asset_prefix: spv-wallet/latest/ \n```\n\n# Development environment setup\n\n## AWS Client Setup and credentials configuration\n```console\n# download AWS client installer\ncurl \"https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip\" -o \"awscliv2.zip\"\nunzip awscliv2.zip\n\n#install AWS client\nsudo ./aws/install\n\n# configure credentials\naws configure\n```\n\n## CDK setup for Python\n\n```console\n# install cdk cli with specific version\nnpm install aws-cdk@2.118.0 \nnpm install cdk-assets@2.118.0 \n\n# Install Python dependencies (in case of using a virtual environment active it first)\npython -m pip install -r requirements.txt\n```\n\n# Code release\n\n1. Before you start setup your environment as described in the Development environment setup section.\n2. Ensure that your AWS credentials are configured and are connected with proper account.\n3. Use update.sh script to deploy the template to the AWS s3.\n\n```console\n./update.sh {environment}\n```\n\nWhere {environment} is the name of the environment you want to deploy (dev or test or prod).\n\nexample:\n\n```console\n./update.sh prod\n```\n\nBy default, the script will deploy the template to the test environment.\n\n4. Commit changes made by the script.\n\n\n**Additional information:**\n\n- the script first will check if there is newer version of helm chart and if so, then it will be updated in {environment}.yaml file\n- then it will prepare the template\n- then it will upload it to the spv-wallet/new folder in the bucket\n- after that, it will move the template from the spv-wallet/latest to the spv-wallet/old folder\n- and finally, it will move the template from the spv-wallet/new to the spv-wallet/latest folder\n\n# URL's to deploy environment\n\n## Production version:\n| Region | CloudFormation template link |\n|--------|------------------------------|\n| AP     | [ap-south-1](https://console.aws.amazon.com/cloudformation/home?region=ap-south-1#/stacks/quickcreate?templateURL=https://spv-wallet-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [ap-northeast-1](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-1#/stacks/quickcreate?templateURL=https://spv-wallet-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [ap-northeast-2](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-2#/stacks/quickcreate?templateURL=https://spv-wallet-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [ap-northeast-3](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-3#/stacks/quickcreate?templateURL=https://spv-wallet-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [ap-southeast-1](https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-1#/stacks/quickcreate?templateURL=https://spv-wallet-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [ap-southeast-2](https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-2#/stacks/quickcreate?templateURL=https://spv-wallet-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json) |\n| CA     | [ca-central-1](https://console.aws.amazon.com/cloudformation/home?region=ca-central-1#/stacks/quickcreate?templateURL=https://spv-wallet-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json) |\n| EU     | [eu-central-1](https://console.aws.amazon.com/cloudformation/home?region=eu-central-1#/stacks/quickcreate?templateURL=https://spv-wallet-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [eu-west-1](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/quickcreate?templateURL=https://spv-wallet-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [eu-west-2](https://console.aws.amazon.com/cloudformation/home?region=eu-west-2#/stacks/quickcreate?templateURL=https://spv-wallet-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [eu-west-3](https://console.aws.amazon.com/cloudformation/home?region=eu-west-3#/stacks/quickcreate?templateURL=https://spv-wallet-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [eu-north-1](https://console.aws.amazon.com/cloudformation/home?region=eu-north-1#/stacks/quickcreate?templateURL=https://spv-wallet-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json) |\n| SA     | [sa-east-1](https://console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/quickcreate?templateURL=https://spv-wallet-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json) |\n| US     | [us-east-1](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/quickcreate?templateURL=https://spv-wallet-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [us-east-2](https://console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/quickcreate?templateURL=https://spv-wallet-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [us-west-1](https://console.aws.amazon.com/cloudformation/home?region=us-west-1#/stacks/quickcreate?templateURL=https://spv-wallet-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [us-west-2](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/quickcreate?templateURL=https://spv-wallet-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json) |\n\n## Test version:\n| Region | CloudFormation template link                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |\n|--------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| AP     | [ap-south-1](https://console.aws.amazon.com/cloudformation/home?region=ap-south-1#/stacks/quickcreate?templateURL=https://spv-wallet-test-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [ap-northeast-1](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-1#/stacks/quickcreate?templateURL=https://spv-wallet-test-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [ap-northeast-2](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-2#/stacks/quickcreate?templateURL=https://spv-wallet-test-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [ap-northeast-3](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-3#/stacks/quickcreate?templateURL=https://spv-wallet-test-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [ap-southeast-1](https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-1#/stacks/quickcreate?templateURL=https://spv-wallet-test-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [ap-southeast-2](https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-2#/stacks/quickcreate?templateURL=https://spv-wallet-test-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json) |\n| CA     | [ca-central-1](https://console.aws.amazon.com/cloudformation/home?region=ca-central-1#/stacks/quickcreate?templateURL=https://spv-wallet-test-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |\n| EU     | [eu-central-1](https://console.aws.amazon.com/cloudformation/home?region=eu-central-1#/stacks/quickcreate?templateURL=https://spv-wallet-test-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [eu-west-1](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/quickcreate?templateURL=https://spv-wallet-test-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [eu-west-2](https://console.aws.amazon.com/cloudformation/home?region=eu-west-2#/stacks/quickcreate?templateURL=https://spv-wallet-test-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [eu-west-3](https://console.aws.amazon.com/cloudformation/home?region=eu-west-3#/stacks/quickcreate?templateURL=https://spv-wallet-test-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [eu-north-1](https://console.aws.amazon.com/cloudformation/home?region=eu-north-1#/stacks/quickcreate?templateURL=https://spv-wallet-test-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json)                                                                                                                                                                                                                                                          |\n| SA     | [sa-east-1](https://console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/quickcreate?templateURL=https://spv-wallet-test-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |\n| US     | [us-east-1](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/quickcreate?templateURL=https://spv-wallet-test-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [us-east-2](https://console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/quickcreate?templateURL=https://spv-wallet-test-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [us-west-1](https://console.aws.amazon.com/cloudformation/home?region=us-west-1#/stacks/quickcreate?templateURL=https://spv-wallet-test-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [us-west-2](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/quickcreate?templateURL=https://spv-wallet-test-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json)                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |\n\n\n## Dev version:\n| Region | CloudFormation template link                                                                                                                                                                                                                                                                                                                                                                                                   |\n|--------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| EU     | [eu-central-1](https://console.aws.amazon.com/cloudformation/home?region=eu-central-1#/stacks/quickcreate?templateURL=https://spv-wallet-dev-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json), [eu-north-1](https://console.aws.amazon.com/cloudformation/home?region=eu-north-1#/stacks/quickcreate?templateURL=https://spv-wallet-dev-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json) |\n| US     | [us-east-1](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/quickcreate?templateURL=https://spv-wallet-dev-template.s3.amazonaws.com/spv-wallet/latest/EksStack.template.json)                                                                                                                                                                                                                     |\n\n\n# Kubernetes version update\n\nIn cluster.py update:\n- Kubernetes version property in cluster construct (ex. _eks.KubernetesVersion.V1_29).\n  Make sure that CDK versio©†n in the requirements supporting specific Kubernetes version, if needed update CDK version.\n  Information can be found at https://github.com/aws/aws-cdk/releases\n- Cluster nodes image release version property in node group construct (ex. release_version=\"1.29.0-20240202\")\n  EKS nodes images release version can be found at https://github.com/awslabs/amazon-eks-ami/releases\n- Kubernetes lambda layer to the same version as Kubernetes cluster. Lambda Layer requires an update within requirements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitcoin-sv%2Fspv-wallet-aws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitcoin-sv%2Fspv-wallet-aws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitcoin-sv%2Fspv-wallet-aws/lists"}