{"id":19174110,"url":"https://github.com/fugashy/aws_network_and_server_sample","last_synced_at":"2026-04-11T07:37:27.334Z","repository":{"id":181432054,"uuid":"415751156","full_name":"fugashy/aws_network_and_server_sample","owner":"fugashy","description":"Construct Wordpress blog site on little secure VPC","archived":false,"fork":false,"pushed_at":"2021-11-22T00:20:27.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-04T00:56:08.078Z","etag":null,"topics":["aws","boto3","ec2-instance","ecs","ecs-cluster","elastic-compute-cloud","elastic-container-service","elastic-ip","internet-gateway","mariadb","nat-gateway","private-subnets","public-subnets","route-tables","subnet","vpc","wordpress"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fugashy.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}},"created_at":"2021-10-11T02:14:19.000Z","updated_at":"2021-11-22T00:20:29.000Z","dependencies_parsed_at":"2023-07-15T16:05:01.816Z","dependency_job_id":null,"html_url":"https://github.com/fugashy/aws_network_and_server_sample","commit_stats":null,"previous_names":["fugashy/aws_network_and_server_sample"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fugashy%2Faws_network_and_server_sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fugashy%2Faws_network_and_server_sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fugashy%2Faws_network_and_server_sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fugashy%2Faws_network_and_server_sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fugashy","download_url":"https://codeload.github.com/fugashy/aws_network_and_server_sample/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240254186,"owners_count":19772387,"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","boto3","ec2-instance","ecs","ecs-cluster","elastic-compute-cloud","elastic-container-service","elastic-ip","internet-gateway","mariadb","nat-gateway","private-subnets","public-subnets","route-tables","subnet","vpc","wordpress"],"created_at":"2024-11-09T10:16:01.486Z","updated_at":"2026-04-11T07:37:22.307Z","avatar_url":"https://github.com/fugashy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws_network_and_server_sample\n\nConstruct Wordpress blog site on little secure VPC\n\n- Launch all\n\n- press enter to kill all of them\n\n# components after launch finished\n\n  - VPC\n\n    - Internet gateway\n\n    - PublicSubnet\n\n      - web_server container (ECS on EC2)\n\n        Wordpress works\n\n      - NAT Gateway with Elastic IP\n\n      - PublicRootTable\n\n    - PrivateSubnet\n\n      - db_server container (ECS on EC2)\n\n        MariaDB works\n\n      - PrivateRootTable\n\n# dependency\n\n- python 3.7.4\n\n- boto3 1.18.21\n\n# required fee for AWS\n\n- NAT and EIP(Creation and running)\n\n  NAT is used for pulling docker image.\n\n# required IAM roll for instance\n\n- eclInstanceRole\n\n# how to use\n\n## boto3 ver\n\n- launch\n\n  ```bash\n  python aws_network_and_server_sample/_boto3/main.py `pwd`/config/all.yaml\n  ```\n\n- access to public IP of web_server_ec2 by your browser\n\n  See stdout like create web_server_ec2: ip: xx.xxx.xxx.xx\n\n- press enter to kill\n\n# reference\n\n- さわって学ぶクラウドインフラ Amazon Web Services 基礎からのネットワーク\u0026サーバー構築\n\n  日経BP\n\n  https://www.amazon.co.jp/Amazon-Web-Services-基礎からのネットワーク＆サーバー構築-改訂3版-大澤-ebook/dp/B084QQ7TCF\n\n# docker images for ECS\n\n- web server\n\n  - In public repos of dockerhub\n\n    ```bash\n    docker pull fugashy/aws_web_server_sample:latest\n\n    # try\n    docker run --rm -it --name web_server -p 80:80 aws_web_server_sample\n    ```\n\n- db server\n\n  - use official mariadb\n\n    ```bash\n    docker pull mariadb\n\n    # try\n    docker run -p 127.0.0.1:3306:3306 -e MARIADB_ROOT_PASSWORD=my-secret-pw -e MARIADB_DATABASE=wordpress --name db_server -it --rm mariadb\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffugashy%2Faws_network_and_server_sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffugashy%2Faws_network_and_server_sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffugashy%2Faws_network_and_server_sample/lists"}