项目作者: codexponent

项目描述 :
📱📢 Connecting Siri with AWS Lambda
高级语言: Python
项目地址: git://github.com/codexponent/siri-lambda.git
创建时间: 2021-05-28T11:22:11Z
项目社区:https://github.com/codexponent/siri-lambda

开源协议:MIT License

下载


Build Status

Siri-Lambda

Connecting Siri with AWS Lambda to turn on/off the VM’s



animated


Architecture


Photo



Workflow


Photo



Motivation

This project is created to turn on the AWS EC2 Machines from your voice assistance (Siri). For this project I have used AWS Lambda function to invoke the start/stop function for the Instances, triggered by the API Gateway which is called through Siri. I am also using Docker images rather than the script to put in into the serverless architrecture and using DockerHub as the Registry for public and ECR for Lambda to get the docker images directly. I also have implemented AzureDevOps in this project to make it easier to change the function through the code push into the GitHub. The instances are created using Pulumi (Iac).

Tools

  • AWS EC2 Instance:
  • AWS Lambda Function
  • API Gateway
  • AWS Elastic Container Registry
  • Docker
  • Siri
  • Azure DevOps
  • Docker Hub Registry
  • Pulumi

How to Use

  • The docker images are public so you can use them immediately
    1. docker pull sulabh4/siri-lambda
  • And on the Lambda Configuration add the InstanceId
    InstanceId
  • For Siri Stuffs, you can check this blog in Medium