cost-optimizer-for-amazon-workspaces
This solution analyzes all of your Amazon WorkSpaces usage data and automatically converts the WorkSpace to the most cost-effective billing option (hourly or monthly), depending on your individual usage. Use this with a single account, or with AWS Organizations across multiple accounts, to help you monitor your WorkSpace usage and optimize costs.
파일 탐색기
최종 버전 다운로드 (.zip)- bug_report.md
- documentation-improvements.md
- feature_request.md
- PULL_REQUEST_TEMPLATE.md
- build-s3-dist.sh
- run-unit-tests.sh
- cost-optimizer-for-amazon-workspaces-solution.ts
- docker-build.sh
- docker-clean.sh
- docker-run.sh
- ecr-login.sh
- ecr-push.sh
- __init__.py
- conftest.py
- test_account_registration_provider.py
- __init__.py
- account_registration_provider.py
- __init__.py
- conftest.py
- test_dynamodb.py
- test_register_spoke_accounts.py
- test_request_event.py
- __init__.py
- dynamodb_table.py
- register_spoke_accounts.py
- request_event.py
- __init__.py
- conftest.py
- test_cfnresponse.py
- cfnresponse.py
- __init__.py
- conftest.py
- test_uuid_generator.py
- __init__.py
- uuid_generator.py
- add-cfn-nag-suppression.ts
- condition-aspect.ts
- override-logical-id.ts
- set-condition.ts
- dashboard-resources.ts
- ecs-cluster-resources.ts
- register-spoke-account-resources.ts
- usage-report-bucket-resources.ts
- uuid-resources.ts
- vpc-resources.ts
- cost-optimizer-for-amazon-workspaces-hub-stack.ts
- cost-optimizer-for-amazon-workspaces-spoke-stack.ts
- hub-snapshot.test.ts.snap
- spoke-snapshot.test.ts.snap
- hub-snapshot.test.ts
- spoke-snapshot.test.ts
- __init__.py
- conftest.py
- test_account_registry.py
- test_directory_reader.py
- test_metrics_helper.py
- test_user_session.py
- test_workspace_record.py
- test_workspaces_helper.py
- __init__.py
- conftest.py
- test_dashboard_metrics.py
- test_date_utils.py
- test_s3_utils.py
- test_timer.py
- test_usage_table_dao.py
- test_user_session_dao.py
- __init__.py
- dashboard_metrics.py
- date_utils.py
- decimal_encoder.py
- s3_utils.py
- solution_metrics.py
- timer.py
- usage_table_dao.py
- user_session_dao.py
- workspace_utils.py
- __init__.py
- account_registry.py
- directory_reader.py
- metrics_helper.py
- user_session.py
- workspace_record.py
- workspaces_helper.py
- main.py
- test_workspaces_app.py
- architecture_diagram.png
- cdk.json
- Dockerfile
- package-lock.json
- package.json
- poetry.lock
- pyproject.toml
- tsconfig.json
- .gitignore
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- LICENSE.txt
- NOTICE.txt
- README.md
- SECURITY.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/aws-solutions/cost-optimizer-for-amazon-workspaces
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd cost-optimizer-for-amazon-workspaces
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker build -f source/Dockerfile -t cost-optimizer-for-amazon-workspaces .
Dockerfile을 기반으로 실행 가능한 이미지를 빌드합니다.
docker run -p 8080:80 cost-optimizer-for-amazon-workspaces
빌드된 이미지를 실제 컨테이너로 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
3. Node.js
쉬움사전 준비물
npm install
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
npm run bootstrap -- --profile ${AWS_PROFILE}
이 명령어를 터미널에 그대로 입력해 실행하세요.
npm run deploy -- --profile ${AWS_PROFILE} --parameters CreateNewVPC=Yes
이 명령어를 터미널에 그대로 입력해 실행하세요.
npm run bootstrap -- --profile ${AWS_PROFILE_SPOKE} --parameter HubAccountId=$HUB_ACCOUNT_ID
이 명령어를 터미널에 그대로 입력해 실행하세요.
npm run deploySpoke -- --profile ${AWS_PROFILE_SPOKE} --parameters HubAccountId=${HUB_ACCOUNT_ID}
이 명령어를 터미널에 그대로 입력해 실행하세요.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
