Giter Site home page Giter Site logo

aws-samples / aws-hpc-recipes Goto Github PK

View Code? Open in Web Editor NEW
53.0 4.0 15.0 6 MB

Contains example recipes that demonstrate how to build HPC systems using AWS services and solutions.

License: Other

Makefile 17.52% Python 24.65% Jinja 3.70% Shell 50.03% PowerShell 4.11%
aws batch cloudformation fsx-lustre parallelcluster slurm res

aws-hpc-recipes's Introduction

HPC Recipes for AWS

DOI Static Badge

This repository contains example recipes that demonstrate how to build HPC systems using AWS ParallelCluster, Research and Engineering Studio on AWS, and other AWS products.

Getting Started

To simply explore what's here, the recipes home page shows you every recipe. Here is an example of what you'll find:

recipe

This is a recipe named slurm_accounting_db. It's part of the db (database collection). The tags tell us its a core recipe (i.e. it's maintained by AWS staff) and that it pertains to Amazon RDS and AWS ParallelCluster.

Security

See CONTRIBUTING for more information.

Contributing

We encourage your to contributions to this collection. Read up on our contribution process and guidelines. Then, head to Get Started to begin.

License

This repository is licensed under the MIT-0 License. See the LICENSE file.

aws-hpc-recipes's People

Contributors

amazon-auto avatar bollig avatar charlesg3 avatar dmorand17 avatar domijana avatar g-lenz avatar gsingh04 avatar himajachandaluri avatar jackalbe avatar junbo75 avatar mwvaughn avatar neilmunday avatar rangfeli avatar scali-at-amazon avatar sjm446 avatar stephenmsachs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

aws-hpc-recipes's Issues

Managed AD Linux AMI version issues

When the template is executed in a pipeline some time after initial deployment the Cloudformation changeset identifies that the AMI for the AdDomainAdminNode needs to be updated, because there's a newer version of the amznlinux image. An AMI change requires the server resource be destroyed and rebuilt, which is attempted.

The new node is launched, but experiences an error during the startup script. It's trying to create the Service Account user via adcli , but this returns an error because the user account already exists.

To workaround the issue we pass the AMI image version as a parameter with the type of 'AWS::EC2::Image::Id'.

[Bug] Recipe `hpc_large_scale` has a deprecated lambda function runtime

As of January 25th 2024, the Python 3.7 lambda function runtime has been deprecated by AWS. It is no longer maintained and functions cannot be created using it.

The hpc_large_scale recipe uses a custom resource based on a lambda function and the runtime configure is Python 3.7. The stack fails to deploy with the message that runtime chosen for the custom resource is invalid. Changing this parameter to Python 3.9 fixes the problem and does not introduce any incompatibility.

How to reproduce

  1. Try to deploy the hpc_large_scale recipe
  2. The CloudFormation stack will fail deployment with the message that the runtime is deprecated.

Expected behaviour
Successfully deploy the stack

res-demo-stack.yaml deployment fails due to Node v14 Lambda runtime dependency

recipes/res/res_demo_env/assets/res-demo-stack.yaml line 135 includes https://research-engineering-studio-us-east-1.s3.amazonaws.com/releases/2024.01/ResearchAndEngineeringStudio.template.json which on line 3500 in the definition of Lambda function AWSCDKCfnUtilsProviderCustomResourceProviderHandlerCF82AA57 includes "Runtime": "nodejs14.x". NodeJS v14 is deprecated as a Lambda runtime and this causes this stack deployment to fail.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.