Security groups rules can reference by IP or by security group Security Groups Good to know Can be attached to multiple instances Locked down to a region / VPC combination Does live "outside" the EC2 – if traffic is blocked the EC2 instance won't see it ...
AWS::EC2::NetworkInsightsAnalysis AdditionalDetail AlternatePathHint AnalysisAclRule AnalysisComponent AnalysisLoadBalancerListener AnalysisLoadBalancerTarget AnalysisPacketHeader AnalysisRouteTableRoute AnalysisSecurityGroupRule Explanation PathComponent PortRange Tag TransitGatewayRouteTableRoute AWS::EC2::Netwo...
AWS::EC2::PlacementGroup Tag AWS::EC2::PrefixList Entry Tag AWS::EC2::Route AWS::EC2::RouteTable Tag AWS::EC2::SecurityGroup Egress Ingress Tag AWS::EC2::SecurityGroupEgress AWS::EC2::SecurityGroupIngress AWS::EC2::SecurityGroupVpcAssociation AWS::EC2::SnapshotBlockPublicAccess AWS::EC2:...
第一步:注册aws账号 第二步: 创建EC2 instance 搜索EC2 选择EC2服务器所在服务区 点击launch instance 选择Ubuntu Server XX.04 LTS, 此处以20.04 LTS为例 任选一个instance type,其中t2.micro可以免费试用 根据实际需求更改storage,添加tags以及设置security group 修改security group设置:1. 添加port range(tinyproxy...
study guide上把load balancingf和auto scaling 单独放在一章,配置界面里面可以看到实际上集成在EC2 dashboard的。 一边配置这个load balancer一边讲概念 Step 1: 基础配置 Internet LB vs Internal LB Internet 好理解,一般来说end user都是通过用户名访问某些资源(通常是web server,所以这里我选择了ALB,listener 开启...
建立HTTP Server 写安装脚本档 要建立HTTP Server首先需要先准备一个安装脚本,而这个脚本需要请User Data帮我们跑执行指令 先建立一个资料夹ec2-config在里面新增一个档案configure.sh,先对脚本做一个说明 第三行:更新 yum 第四行:安装LAMP 第五行:安装Apache 与maria DB ...
查询密钥: aws ec2 describe-key-pairs 删除密钥的方法: aws ec2 delete-key-pair --key-name 'MyKeyPair' 启动实例: aws ec2 run-instances \ --image-id $IMAGE_ID \ --count 1 \ --instance-type 'c7i.xlarge' \ --key-name 'MyKeyPair' \ --security-groups 'my-security-group' \ --...
在aws ec2上使用root用户登录 aws ec2默认是使用ec2-user账号登陆的,对很多文件夹是没有权限的。如...
准备一台 Amazon EC2 实例作为 Bastion Host,用来运行 Terraform 脚本,以在宁夏、北京区域自动创建 VPC 和云服务器 Amazon EC2,以及生成多个 WireGuard Peer 节点的配置文件,并推送到 Peer 节点。 安装wg-meshconf,用于生成多个 peer 节点的配置文件:wg0.conf ...
Description: WebServer EC2 instance type Type: String Default: t2.nano AllowedValues: - t2.nano - t2.micro - t2.small ConstraintDescription: must be a valid EC2 instance type. ## TASK 1.1 - END LatestAmiId: Description: Find the current AMI ID using System Manager Parameter Store ...