{"id":20513520,"url":"https://github.com/microwebstacks/aws-sandbox","last_synced_at":"2026-02-26T05:48:03.609Z","repository":{"id":184660271,"uuid":"672246665","full_name":"MicroWebStacks/aws-sandbox","owner":"MicroWebStacks","description":"testing s3 access","archived":false,"fork":false,"pushed_at":"2024-08-15T13:03:52.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-29T14:22:11.497Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MicroWebStacks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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},"funding":{"github":null,"patreon":null,"open_collective":"micro-web-stacks","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2023-07-29T12:20:09.000Z","updated_at":"2024-08-15T13:03:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"dcf18164-dafa-4e4f-947f-e9f4f1f0348e","html_url":"https://github.com/MicroWebStacks/aws-sandbox","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":"0.15384615384615385","last_synced_commit":"417277c2b987b2d06779353a96aa4a97ca8a8c61"},"previous_names":["microwebstacks/test_s3","microwebstacks/aws-test","microwebstacks/aws-sandbox"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MicroWebStacks%2Faws-sandbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MicroWebStacks%2Faws-sandbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MicroWebStacks%2Faws-sandbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MicroWebStacks%2Faws-sandbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MicroWebStacks","download_url":"https://codeload.github.com/MicroWebStacks/aws-sandbox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224844650,"owners_count":17379241,"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":[],"created_at":"2024-11-15T21:11:37.030Z","updated_at":"2025-10-29T13:03:33.092Z","avatar_url":"https://github.com/MicroWebStacks.png","language":"Python","readme":"# Local to cloud\nThe goal is to provide a development flow that covers mulitple deployment envirments using the same code base\n* Local native deployment using python venv and node installs\n* Docker containers with docker compose commands\n* Cloud deployment with Lambdas and ECS Fargate Tasks\n\n## Orchestration\n* Primary services are ones that manipulate data and those are subject to orchestration\n* Secondary services are used for stateless and instant data transformation such as REST API endpoints\n* Orchestration is based on data flow only, which means that services do not exchange control events but rather events triggered on data production\n* Local ochestration is based on MQTT which mirrors main artifacts creation in cache (A main artifact is a cache path)\n* Global or cross services orchestatrion is based on an S3 bucket with lambdas for webhooks notification or services triggers\n\n## goals\n\n* Create an ECS task that watches an S3 Object, triggers when it is updated, process it then stops\n* Host stateless services for simple data transformation\n\n## related work\n* https://github.com/MicroWebStacks/copper\n* https://github.com/MicroWebStacks/markdown-rag-services\n\n# S3\ntesting s3 access\n\n- created a bucket =\u003e BUCKET_NAME\n- provide perissions to IAM user\n\n# ECS\n\n![Overview](./design/Fargate.drawio.svg)\n\n```bash\naws ecr get-login-password --region eu-central-1 | docker login --username AWS --password-stdin 031028648877.dkr.ecr.eu-central-1.amazonaws.com\n\ndocker compose build server\n\ndocker tag aws-sandbox-server:latest 031028648877.dkr.ecr.eu-central-1.amazonaws.com/microweb-containers:latest\n\ndocker push 031028648877.dkr.ecr.eu-central-1.amazonaws.com/microweb-containers:latest\n\n```\n* ECS \u003e Clusters \u003e HelloWebCluster \u003e Tasks \u003e Task running with a Task Definition\n* in the Networking security group, the inboud rule for port 3000 needs to be added\n# Aws pipeline options\n* Sagemaker pipeline\n* Step functions with Lambdas\n* Fargate with triggers\n* AWS Batch\n* custom with EC2 Spot instances\n* EKS Elastic Kubernetes Service\n# Pipeline tools\n* Perfect : https://docs-3.prefect.io/3.0rc/deploy/infrastructure-examples/docker\n* Metaflow : https://docs.metaflow.org/introduction/what-is-metaflow\n* AWS Step Functions\n* Dagster : https://dagster.io/\n* Flyte : https://flyte.org/\n* Argo Workflows : https://argo-workflows.readthedocs.io/en/latest/quick-start/\n* Custom Python and Docker\n","funding_links":["https://opencollective.com/micro-web-stacks"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrowebstacks%2Faws-sandbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrowebstacks%2Faws-sandbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrowebstacks%2Faws-sandbox/lists"}