如何自动删除和重新创建AWS转移服务

发布于 2025-02-06 05:02:47 字数 1402 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

℡寂寞咖啡 2025-02-13 05:02:47

一种可能性是使用每次重新创建SFTP的服务AWS转移家庭时都可以部署的云形象。
重新创建所有内容大约5-10分钟。

另外,如果要启用密码身份验证,则可以将以下链接用作教程 https://aws.amazon.com/blogs/storage/enable-password-authentication-for-authentical-for-aws-aws-aws-transfer-transfer-family-usis--------- -Secrets-Manager-Rood/

祝您好运!

One possibility is to use CloudFormation that can be deployed each time you need to recreate the service AWS Transfer Family for SFTP .
It takes like 5-10minutes to recreate everything back.

Also, if you want to enable password authentication you can use the following link as a tutorial https://aws.amazon.com/blogs/storage/enable-password-authentication-for-aws-transfer-family-using-aws-secrets-manager-updated/

Good luck!

饮湿 2025-02-13 05:02:47

创建和删除转移家族的宽松方式是通过IAC(INSFRA作为代码)。

正如其他人建议的云形式是一种IAC的一种方式一样,我个人更喜欢Terraform,以某种方式更容易学习,也不仅仅涵盖AWS。带有良好的榜样和社区。

让我分享一些类似需求和官方模块的示例。

  1. 很酷的指导教程
  2. oficial module
  3. terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_server“ rel =“ nofollow Transfer-server/blob/master/main.tf“ rel =“ nofollow noreferrer”> github示例

我做了您想要的事情,可以说它对我的用例=)

The easist way to create and delete Transfer Family is via IAC (Infra as Code).

As others suggested cloudformation is a way of IAC, I personally prefer terraform it somehow is easier to learn and does nor cover only aws. Comes with good example and community.

Let me share couple of examples to some similar needs and the oficial module.

  1. Cool guided tutorial
  2. Oficial module
  3. Github example

I have done what you wanted and can say it pretty much works for my use case =)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文