Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More detailed instructions for configuring AWS CLI #2305

Merged
merged 1 commit into from
Sep 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 48 additions & 2 deletions physionet-django/user/templates/user/edit_cloud.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,27 @@ <h2 id="aws">Amazon Web Services</h2>
<form action="" method="post">
{% csrf_token %}
{% if user.cloud_information.aws_verification_datetime %}
<hr>
<p>
To access {{ SITE_NAME }} resources via Amazon Web Services:
</p>
<ol>
<li>
<a href="https://aws.amazon.com/cli/"
target="_blank">
Install the <abbr title="Amazon Web Services">AWS</abbr>
Command Line Interface.
</a>
</li>
<li>
<a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-authentication-user.html"
target="_blank">
Configure the <abbr title="Amazon Web Services">AWS</abbr>
Command Line Interface to use the identity shown below.
</a>
</li>
</ol>

<div class="card">
<ul class="list-group list-group-flush">
<li class="list-group-item">
Expand Down Expand Up @@ -72,10 +93,35 @@ <h5 class="modal-title" id="delete-aws-modal-title">Remove <abbr title="Amazon W
{# modal end #}
{% else %}
<hr>
<p>To link your Amazon Web Services account using the
<a href="https://aws.amazon.com/cli/"><abbr title="Amazon Web Services">AWS</abbr> Command Line Interface</a>:
<p>
To access {{ SITE_NAME }} resources via Amazon Web Services:
</p>
<ol>
<li>
<a href="https://aws.amazon.com/resources/create-account/"
target="_blank">
Create an Amazon Web Services account.
</a>
</li>
<li>
<a href="https://aws.amazon.com/cli/"
target="_blank">
Install the <abbr title="Amazon Web Services">AWS</abbr>
Command Line Interface.
</a>
</li>
<li>
<a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-authentication-user.html"
target="_blank">
Configure the <abbr title="Amazon Web Services">AWS</abbr>
Command Line Interface to use
<abbr title="Identity and Access Management">IAM</abbr> user credentials.
</a>
<br>
<strong>Note:</strong> when selecting &ldquo;Permission
options&rdquo; for the user, you must enable
the <code>AmazonS3FullAccess</code> policy.
</li>
<li>
Open a terminal and run the following command:
<pre><code>aws sts get-caller-identity</code></pre>
Expand Down
Loading