Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CSC509 Lecture 12

CSC509 Lecture 12

Software Design
AWS Lambda
(202311)

Javier Gonzalez-Sanchez

November 14, 2023
Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming

Transcript

  1. jgs CSC 509 Software Engineering II: Modeling and Design Lecture

    12: AWS (Lambda) online Platform Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.com Building 14 -227 Office Hours: By appointment
  2. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    3 Java Desktop JRE JVM Java Libraries Your program
  3. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    5 Servlet Container Server Apache Java Servlet JRE JVM Java Libraries Your program HTTP @WebServlet (”/name")
  4. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    10 AWS Lambda: It is a cloud service that can run your code on a high-availability computing infrastructure and perform all of the administration of the total resources. At least seven different languages are available. Including Java, of course! Let’s Go To The Cloud
  5. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    11 Lambda Function: A function without a name, i.e., a short block of code that takes in parameters and returns a value Why the name Lambda?
  6. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    13 § Installing the AWS SAM CLI § AWS Serverless Application Model Command Line Interface (AWS SAM CLI) on supported operating systems. § https://docs.aws.amazon.com/serverless-application- model/latest/developerguide/install-sam-cli.html#install-sam-cli-instructions
  7. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    14 Serverless Application Model – Command Line
  8. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    15 Serverless Application Model – Command Line
  9. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    16 Serverless Application Model – Command Line
  10. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    17 Serverless Application Model – Command Line
  11. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    35 Big Picture https://aws.amazon.com/blogs/architecture/building-a-serverless-wallet-service-for-in-game-currency/ We are here…
  12. jgs Javier Gonzalez-Sanchez | CSC 509 | Fall 2023 |

    41 Guidelines Can you make an AWS Application version of your Code Village (Quiz) project? • Can you reuse classes? • How will the UI look like? • Create a new class diagram • Problems?
  13. jgs CSC 509 Software Design Javier Gonzalez-Sanchez, Ph.D. [email protected] Fall

    2023 Copyright. These slides can only be used as study material for the class CSC509 at Cal Poly. They cannot be distributed or used for another purpose.