https://github.com/oracle-quickstart/oci-ed-setup
Email delivery setup on OCI
https://github.com/oracle-quickstart/oci-ed-setup
Last synced: 2 months ago
JSON representation
Email delivery setup on OCI
- Host: GitHub
- URL: https://github.com/oracle-quickstart/oci-ed-setup
- Owner: oracle-quickstart
- License: upl-1.0
- Archived: true
- Created: 2022-08-09T09:30:06.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-10T07:10:57.000Z (almost 3 years ago)
- Last Synced: 2025-02-19T21:12:49.601Z (4 months ago)
- Language: HCL
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# oci-ed-setup
The Oracle Cloud Infrastructure Email Delivery service provides a fast and reliable managed solution for sending secured, high-volume marketing and transactional emails.
The Email Delivery service provides tools necessary to send application-generated email for mission-critical communications such as receipts, fraud detection alerts, multi-factor identity verification, and password resets.
The scripts provided here will enable to quickly setup the email delivery service without going through the manual steps to configure email domains, email senders, User SMTP credentials and DKIM (DomainKey Identified Mail)
## Prerequisites
- Permission to `manage` the following types of resources
- Email domains
- Approved Senders
- DKIMs- Quota to create the above resources.
If you don't have the required permissions and quota, contact your tenancy administrator. See [Policy Reference](https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Reference/policyreference.htm), [Service Limits](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/servicelimits.htm), [Compartment Quotas](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcequotas.htm).
## Deploy Using Oracle Resource Manager
1. Click [](https://cloud.oracle.com/resourcemanager/stacks/create?region=home&zipUrl=https://github.com/oracle-quickstart/oci-ed-setup/releases/latest/download/oci-ed-setup-latest.zip)
If you aren't already signed in, when prompted, enter the tenancy and user credentials.
2. Review and accept the terms and conditions.
3. Select the region where you want to deploy the stack.
4. Follow the on-screen prompts and instructions to create the stack.
5. After creating the stack, click **Terraform Actions**, and select **Plan**.
6. Wait for the job to be completed, and review the plan.
To make any changes, return to the Stack Details page, click **Edit Stack**, and make the required changes. Then, run the **Plan** action again.
7. If no further changes are necessary, return to the Stack Details page, click **Terraform Actions**, and select **Apply**.
8. Once the stack is successfully deployed select the job and check out the output variables for SMTP username, password and DKIM CNAME and TXT record.
## Deploy Using the Terraform CLI
### Clone the Module
Now, you'll want a local copy of this repo. You can make that with the commands:
git clone https://github.com/oracle-quickstart/oci-ed-setup
cd oci-ed-setup
ls### Set Up and Configure Terraform
1. Complete the prerequisites described [here](https://github.com/cloud-partners/oci-prerequisites).
2. Create a `terraform.tfvars` file, and specify the following variables:
```
# Authentication
tenancy_ocid = ""
current_user_ocid = ""
fingerprint = ""
private_key_path = ""# Region
region = ""# Compartment
compartment_ocid = ""
````### Create the Resources
Run the following commands:
terraform init
terraform plan
terraform apply### Destroy the Deployment
When you no longer need the deployment, you can run this command to destroy the resources:
terraform destroy
## Post Deployment
To test the setup use the SMTP credentials to send mails using your tool of choice.