<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/securely-connect-to-an-amazon-rds-0sftfkp8k" -->

---
title: Securely connect to an Amazon RDS | daily.dev
description: Learn how to securely connect to an Amazon RDS using Terraform code examples and create the necessary resources for secure connection, including VPC endpoints,...
canonical: https://daily.dev/posts/securely-connect-to-an-amazon-rds-0sftfkp8k
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Securely connect to an Amazon RDS | daily.dev
og:description: Learn how to securely connect to an Amazon RDS using Terraform code examples and create the necessary resources for secure connection, including VPC endpoints,...
og:url: https://daily.dev/posts/securely-connect-to-an-amazon-rds-0sftfkp8k
og:image: https://api.daily.dev/og/posts/0sFTfkp8K.png
og:image:alt: Securely connect to an Amazon RDS
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Securely connect to an Amazon RDS

**[AWS Builders](https://daily.dev/sources/aws-builders)** · 3 min read · 1 upvotes · 0 comments

## Summary

Learn how to securely connect to an Amazon RDS using Terraform code examples and create the necessary resources for secure connection, including VPC endpoints, EC2 instances, security groups, and IAM roles.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://dev.to/aws-builders/securely-connect-to-an-amazon-rds-2i3p>

---

Tags: [#aws](https://daily.dev/tags/aws), [#terraform](https://daily.dev/tags/terraform), [#aws-ec2](https://daily.dev/tags/aws-ec2), [#aws-rds](https://daily.dev/tags/aws-rds)

[View this post on daily.dev](https://daily.dev/posts/securely-connect-to-an-amazon-rds-0sftfkp8k)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Securely connect to an Amazon RDS","url":"https://daily.dev/posts/securely-connect-to-an-amazon-rds-0sftfkp8k","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/securely-connect-to-an-amazon-rds-0sftfkp8k"},"datePublished":"2024-05-06T01:23:59.076Z","dateModified":"2024-05-09T08:43:33.910Z","description":"Learn how to securely connect to an Amazon RDS using Terraform code examples and create the necessary resources for secure connection, including VPC endpoints,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/68d7c7d82b58c85141b15b5299302c84?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/68d7c7d82b58c85141b15b5299302c84?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"AWS Builders","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"AWS Builders","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/bec174adab9a4e66911acbbf460e746d","url":"https://daily.dev/sources/aws-builders"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/securely-connect-to-an-amazon-rds-0sftfkp8k","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"aws,terraform,aws-ec2,aws-rds","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"AWS Builders","item":"https://daily.dev/sources/aws-builders"},{"@type":"ListItem","position":3,"name":"Securely connect to an Amazon RDS"}]}
```

