# How-to-provision-a-farm_693608295
## Introduction

This page describes all the specifications required to build a farm in ITOM. Each step need to be revertible and reconfigurable.

## Day 0

This phase is mainly about the planning and designing. The items in this phase are mainly listed as below

1. What components are required for the farm?
2. What is the size of each component on the farm?
3. Documents of the required components are ready
4. How many license need to be applied?
5. Is there any special requirement for the farm?  
	1. Special DR (e.g.: non-standard RTO/RPO)
		2. Special encryption requirements
		3. Special security requirement (e.g.: Zero-trust)
6. What's the budget and approval on the budget? (Cloud Service Request)
7. Credentials required to build the farm

## Day 1

This phase is mainly about initial setup, configuration, and deployment of the software and infrastructure.

1. Accounts and Credentials
2. Network
	1. Terragrunt (VPC, Subnets, Routing, TGW, etc)
		1. [Request for a VPC](https://rndwiki.houston.softwaregrp.net/confluence/display/SMAXaaS/Request+for+a+VPC?src=contextnavpagetreemode)
		2. Security Group, etc
3. Computing
	1. EKS
		2. Worker
		3. Bastion
4. Storage
	1. EBS
		2. EFS
5. Secret Management
	1. Parameter Store
6. Database
	1. RDS
		1. Instance Type, Storage Type, Maintenance, Parameter group
		2. Vertica
7. WAF
8. Tagging
	1. Company level tagging standard
		1. [OpenText Tagging Standard](https://confluence.opentext.com/display/otarch/OpenText+Tagging+Standard)
		2. NLZ specific tags
		1. [ITOM tagging.xlsx](https://opentextcorporation-my.sharepoint.com/:x:/g/personal/jhuang4_opentext_com/Eb3bD7I-w0VMnowtCLWekqIBWE8qTKEU_iP7OLXimnZcCg?e=M54Pkl)
		3. FinOps tags
		1. Farm: us2-dev
				2. team: xxxxx
		4. The name of the resource need to be easily identified
		1. [ESM Farm Cloud Deployment Naming Convention](https://confluence.opentext.com/display/ICSD/ESM+Farm+Cloud+Deployment+Naming+Convention?src=contextnavpagetreemode)
9. SES
10. CloudWatch
11. Product deployment
	1. ESM
		1. SMAX
				2. UCMDB
				3. OO
				4. AC
				5. HCMX
		2. Aviator
		3. OP

## Day 2

This phase is mainly about ongoing maintenance, monitoring, optimization, and scaling of the deployed application and infrastructure.

1. App post deployment configuration
2. Provisioning support
	1. x4x & lambda
3. Monitoring & Observation
4. Optimization
	1. Tuning
5. Logging
6. Backup and disaster recovery
7. Reporting - Power BI
8. Vulnerability scanning
9. PCS supporting the new farm

## Day 3 to forever

1. Hotfix & Patch & Upgrade
