2016年2月23日火曜日

AWS CodeCommitを利用する -- Use AWS CodeCommit --

ソースコード管理にCodeCommitを利用しようと思う。
備忘録として、手順をまとめる。

1. Git for Windows(msysgit) をインストール

・Git for Windowsの取得
https://git-for-windows.github.io
からファイルダウンロードしインストール

2. TortoiseGit をインストール

・TortoiseGitの取得
https://tortoisegit.org/
からファイルダウンロードしインストール

3. キーファイルの作成

・Save private Keyでppkファイル作成(PuttyGenを利用する)
SSH2 RSAを選択し、Generateボタン押下
Key passphraseを入力
Save private Key押下、ppkファイルとして保存

・公開鍵を作成
public key for pasting …の箇所をコピー
codecommit.pubとして保存

4. AWS IAMでユーザ作成

IAMでユーザ作成
アクセスキーIDとシークレットアクセスキーは忘れずに保存すること

作成したユーザを選択

SSHアクセスキーのアップロードを選択
先ほど作成したpubファイルをアップロード

アクセス許可を選択
ポリシーのアタッチを選択
CodeCommitのFullAccessを選択



I think that trying to use the CodeCommit to source code management.
Summarize the procedure.

1. Git for Windows install

・Acquisition of Git for Windows
https://git-for-windows.github.io
donload file and install

2. TortoiseGit install

・Acquisition of TortoiseGit for Windows
https://tortoisegit.org/
donload file and install

3. create key file

・ppk file created by the Save private Key (use PuttyGen)
Select the SSH2 RSA, Generate button is pressed
Enter the Key passphrase
Save private Key pressed, save as ppk file

・Create a public key
Copy the public key for pasting ...
Save as codecommit.pub

4. create user in AWS IAM

create user in AWS IAM
Access key ID and secret access key is stored not forget

Select the created user

Select Upload SSH access key
Upload a pub file you just created

Select permissions
Select to attach policy
Select CodeCommitFullAccess

0 件のコメント:

コメントを投稿