GithubHelp home page GithubHelp logo

dotfiles's People

Contributors

os1ma avatar

Watchers

 avatar

dotfiles's Issues

Linux の GUI 関係を選定・導入する

リモートデスクトップの種類

GUI

デスクトップ

  • GNOME
    • Ubuntu、Linux Mint
  • KDE
    • Debian

https://qiita.com/shotasano/items/0cf255a7ad6ec0cf52d7#x-window-system%E3%83%87%E3%82%B9%E3%82%AF%E3%83%88%E3%83%83%E3%83%97%E7%92%B0%E5%A2%83%E3%81%AE%E5%B0%8E%E5%85%A5
https://www.apps-gcp.com/gce-tokyo-region-gui/

EC2 に対応する

memo

EC2 (Ubuntu 20.04)

  • インスタンスタイプ
    • m5a.xlarge
    • vCPU 4 コア
    • メモリ 16 GB
    • 料金
      • 0.224 USD/時間
      • 5.376 USD/day
      • 161.28 USD/month

起動

プロファイル設定済みの環境で以下のコマンドを実行

$ docker run \
  --rm \
  -it \
  -v ~/.aws:/root/.aws \
  amazon/aws-cli:2.0.25 \
  ec2 run-instances \
  --image-id ami-0aa7c595324d25274 \
  --instance-type m5a.xlarge \
  --tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=working-instance}]'

調査すべきオプションなど

  • public subnet ?
  • security group ?
  • --key-name \
  • [--associate-public-ip-address | --no-associate-public-ip-address]
  • [--user-data ]

※ SSM を使うには Amazon Linux 2 などのエージェントが必要。EC2 に IAM Role の設定も必要になるため、CloudFormation を使った方が良い

停止

FIXME

$ docker run \
  --rm \
  -it \
  -v ~/.aws:/root/.aws \
  amazon/aws-cli:2.0.25 \
  ec2 terminate-instances \
  --instance-ids "$(docker run --rm -it -v ~/.aws:/root/.aws amazon/aws-cli:2.0.25 ec2 describe-instances --filters 'Name=tag:Name,Values=working-instance' --output text --query 'Reservations[*].Instances[*].InstanceId')"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.