EC2 VM을 새로 구성했을 때 해야하는 작업
- Single NiFi
- Change Timezone of EC2 VM
- Wget NiFi
- Uncompress NiFi
- Set Single Login Password
- Configuration Change
- Create Certificate for HTTPS
- Start NiFi
- Clustered NiFi
- Exchange Certificates
간단한 VM Setup에 필요한 자원
- a stack
- an image
- a virtual machine
- a storage volume
- a security group
- a VPC
- a subnet
- a routing table
- an internet gateway
- an elastic ip address
- CIDR blocks
- associations
- EC2 KeyPair - CloudFormation 전에 KeyPair를 생성해야 함
tack | A set of resources provisioned and managed by CloudFormation is referred to as a Stack. |
Image | Images (AMI) describe the root volume of a virtual machine. For example they can contain the operating system or application server. |
Virtual Machine | It’s basically an artificial computer. It behaves like an actual computer but does not physically exist. It exists and runs on a server. Virtual Machines come in different sizes (CPU, Memory (RAM) and other hardware components) and can be based on different images. |
Storage Volume | A hard drive that is plugged into the virtual machine. |
Security Group | Security group is a virtual firewall for our set up in AWS. It controls all traffic in and out of segment (VPC) of the AWS cloud. |
VPC | Every computer and cloud infrastructure needs networking. To protect our instance in AWS, we create a virtual network, exclusive for our purpose, also called a Virtual Private Cloud (VPC) |
Subnet | A subnet defines the range of IP addresses in our VPC |
Route Table | Defines and determines traffic flow |
Internet Gateway | Internet Gateways enable communication between our VPC and the internet |
Elastic IP Address | An Elastic IP Address is a static IPv4 address. It can be reused and point to different VPCs. |
CIDR blocks | CIDR blocks define valid IP address ranges and are needed by Subnets |
Associations | CloudFormation requires associating certain components with each other. For example a Subnet and a Routing Table. |
KeyPair | Amazon EC2 requires keys for accessing a virtual machine. These ssh keys are referred to as KeyPairs and often the KeyName (name of the key) is required for the creation of virtual machines. |
CloudFormation
- Parameters - 입력 정보
- Mappings- EC2 AMI ID 매핑
- Resources
2 Comments
Edward
Feb 13, 2023Edward
Feb 13, 2023https://docs.aws.amazon.com/ko_kr/AWSCloudFormation/latest/UserGuide/deploying.applications.html