2
0

More than 1 year has passed since last update.

AWSのEC2でMacをつかーう

Last updated at Posted at 2022-12-15

はじめに

AWSのEC2でMacインスタンスを立ち上げましょう!クラウドでビルドできるから便利!

開発環境

  • Windows 10

導入

1.macOSを選択

image.png

2.インスタンスタイプはmac1.metal

image.png

3.キーペアを作成

image.png

4.ネットワークの設定

image.png

5.ストレージの設定

image.png

6.インスタンスを起動
image.png

7.専有ホストで起動
image.png

8.失敗
image.png

9.ホストを作成してからインスタンスを起動する

image.png

10.キーペア(.ppk)を用いて、PuTTyからログインする
$ login as:ec2-user

11.インバウンドルールを追加しておく

image.png

12.パスワードの変更
$ sudo dscl . -passwd /Users/ec2-user

13.VNCの設定

$ sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw -restart -agent -privs -all

14.VNC Viewerから見る

ec2-user
Password

15.入れました

image.png

16.使い終わったらホストをリリースしないと、1週間で3万くらいとられる!使ってないのに!

$1.399 per On Demand MAC1 Dedicated Host Hour 171.000 Hrs $239.23

参考文献

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0