AWS General


High level: Some key gotcha in learning AWS

  • the difficult part lies on how to setup infrastructure correctly. This requires knowledge from different areas and different AWS service.
  • it is very important to learn deployment tools, like CloudFormation. And the provision tool, like Ansible.

Access AWS

There are multiple way of access AWS.

  • Management console
  • ssh with .pem key
  • Access key and password (via CLI and SDK)
  • STS
  • Centrify or other method

Management Console

  • default for root user
  • for managed user, login with url:
    • ????

using access key and password

using STS


Related to EC2:

Access EC2 instance:

Normally, we use .pem key to login to AWS services. But there are services like Centrify that provide username and password style login method.

ssh -i /*path*/my-key-pair.pem user-name@ec2-198-51-100-1.compute-1.amazonaws.com
or 
ssh -i jinchao.pem ubuntu@54.149.233.8  # public IP

user-name is defined by AMI provider. For Amazon Linux, the user name is ec2-user. For Ubuntu, the user name is ubuntu.

  • Transfer file into EC2:
scp -i /*path*/my-key-pair.pem SampleFile.txt ec2-user@ec2-198-51-100-1.compute-1.amazonaws.com:~

questions: ?

  • several network concepts: hwo do they work together ?

    • network-interface
    • subnet
    • VPC
    • public and private IP
    • DNS
    • security group
  • how to use roles, policy and security group to control EC2 instance



最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

友情链接更多精彩内容