• LEVEL THE PLAYING FIELD


    Overview
    A new release of your software only works with Python 3.9.13! How oddly specific. You’ll have to ensure that Python is the same version across your fleet.

    Possible Points: 150 Clue Penalty: 0 Points Earned: 150
    Enter answer here
    Completed!
    Summary
    Installing Python is pretty easy…or is it? Across multiple hosts? Linux AND Windows?

    Background
    Your software requires exactly Python version 3.9.13 and it needs to be rolled out to the fleet. Unfortunately for you, the fleet has been individually managed and you have varying versions of Python (if at all) that you’ll have to sort out.

    Your Task
    You will need to install Python 3.9.13 on each host, at scale, rather than individually.

    Getting Started
    Since you will need to deploy at scale, be sure to leverage the commands below per each OS to assist.

    Important:
    Be sure to send your outputs to the S3 bucket identified in the lab outputs as “StdoutBucket”.
    Amazon Linux:
    sudo yum -y remove python3
    sudo yum -y install gcc openssl-devel bzip2-devel libffi-devel
    cd /opt
    sudo wget https://www.python.org/ftp/python/3.9.13/Python-3.9.13.tgz
    sudo tar xzf Python-3.9.13.tgz
    cd Python-3.9.13
    sudo ./configure --enable-optimizations
    sudo make install
    Windows:
    Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1’))
    choco install python3 --version=3.9.13 -y
    Restart-Computer
    Inventory
    3x Amazon Linux EC2 instances
    2x Wndows EC2 instances
    Services you should use
    AWS Systems Manager

    Task Validation
    You’ve been given the installation details, now how will you make that happen when you don’t have SSH/RDP access?

    Success criteria is Python 3.9.13 running on all 5 EC2 instances.

    To check your work, look for the “CheckAnswerURL” in the “Outputs” section of the lab.

    answer:AWS Systems Manager -> Run command --> Run Shell or Run PowerShell

  • 相关阅读:
    开源新工具 Azure Developer CLI
    【Android】Lombok for Android Studio 离线插件
    sql中的排序函数dense_rank(),RANK()和row_number()
    云计算系统的多维度安全部署
    tamarin运行
    [CSP-J 2022] 解密
    搞了三天终于成功跑起来GitHub上的vue-element-admin最新解决办法!(mac系统亲测有效)
    基于SSM实现家政管理平台的开发和实现
    mongo 4.4 访问控制启用
    RunnerGo UI自动化测试功能使用体验
  • 原文地址:https://blog.csdn.net/Tzwf01/article/details/126373206