Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UT climate services portal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jaannigu
UT climate services portal
Commits
32ae5dcc
Commit
32ae5dcc
authored
1 month ago
by
jaannigu
Browse files
Options
Downloads
Patches
Plain Diff
Update file setup.md
parent
170d9aed
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tutorials/setup.md
+22
-1
22 additions, 1 deletion
tutorials/setup.md
with
22 additions
and
1 deletion
tutorials/setup.md
+
22
−
1
View file @
32ae5dcc
Documentation for setup of the AWS system for Atlas
\ No newline at end of file
Documentation for setup of the AWS system for Atlas
# Adding a new dashboard to AWS
## Preparing files
-
Define the whole dashboard script as a function named run_dashboard(token, container_ip). It is called in the main file app.py later.
-
Add files verification.py, setup_callbacks.py, environment.yml and the dashboard source file (dashboard.py) to the same directory app.py is located.
## Building and publishing the image to repository
-
Inside terminal, run:
*
docker build -t
<tag_name>
.
-
Using Docker Hub to store the image:
*
docker login
*
docker tag mypanelapp:latest myuser/mypanel:latest
*
docker tag push myuser/mypanel:latest
-
In case of using public AWS ECR, the user needs to be logged in before pushing any images.
*
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/a3o6k3z1
*
When using WSL 2, "Error saving credentials" may occur. To fix this, ~/.docker/config.json needs to be modified so that "credsStore": "".
*
docker tag
<tag_name>
public.ecr.aws/a3o6k3z1/atlas:
<tag_name>
*
docker push public.ecr.aws/a3o6k3z1/atlas:
<tag_name>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment