• 请不要在回答技术问题时复制粘贴 AI 生成的内容
b00tyhunt3r
V2EX  ›  程序员

求一篇从头到尾完整配置出一个生产环境 EC2 服务器的教程!

  •  
  •   b00tyhunt3r · Sep 21, 2022 · 2066 views
    This topic created in 1359 days ago, the information mentioned may be changed or developed.

    服务器结构是 REST API 服务器 + PostgreSQL + redis

    想求一篇攻略,从创建 VPC 开始,涵盖 RDS, ELB ,HTTPS ,Auto Scaling 的配置等等,最好也能覆盖服务器的崩溃重启设定之类, 谢谢!

    2 replies    2022-09-22 10:21:35 +08:00
    fredcc
        1
    fredcc  
       Sep 21, 2022
    这堆东西 AWS 线下培训课程大概是 2 天课时来着,一篇文章就想覆盖啊
    moshiyeap100
        2
    moshiyeap100  
       Sep 22, 2022
    不如换个思路,打开 Google ,搜索以下几个问题。

    1. 如何创建 AWS VPC
    2. 如何安装 redis 集群 /单机
    3. 如何安装 PostgreSQL
    4. 如何使用 nginx 配置 https
    5. 如何使用 nginx 配置负载均衡
    6. 如何使用 Supervisor 守护应用进程
    7. 如何采集服务日志

    以上一个个配置完,然后你就或者了一个准生产环境,如果担心可用性,就 redis ,pgsql ,elb 都可以买 aws 的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2581 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 16:09 · PVG 00:09 · LAX 09:09 · JFK 12:09
    ♥ Do have faith in what you're doing.