- Newest
- Most votes
- Most comments
This really depends on what you want to configure as part of the creation. For OpenSearch, I'd start with the service reference for the list of actions and how they can be controlled. If you don't want to be that granluar, you can use the AmazonOpenSearchServiceFullAccess managed policy which grants full access to the service (es:*).
If you want more granular access control, you should create a custom policy and allow the following actions: es:CreateDomain, es:DeleteDomain, es:UpgradeDomain, es:UpdateDomainConfig, es:UpgradePackage
If need an Amazon OpenSearch Service domain that uses VPC access, you additionally would need es:CreateServiceRole, es:CreateVpcEndpoint, es:AuthorizeVpcEndpointAccess, es:DeleteVpcEndpoint, es:DeleteElasticsearchServiceRole
Relevant content
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 7 months ago

Thank you for replying! Is it possible to create only a spin up and spin down, without giving full access to Opensearch?