I cannot deploy my function to us-west-1 (other regions are good), and find the problem has been posted in AWS Discussion Forum, so … does that mean I cannot use serverless to develop, or I can use some way to bypass this problem?
Because our old machines and databases are all in us-west-1, I remember amazon is not support cross region VPC and database access. (I am not quiet sure. I am beginner for this, these days I want to change the API into AWS lambda, and saw serverless is a good infrastructure to start it)
Or can I create in lambda us-west-2 and make it available access to RDS in us-west-1? then I can use us-west-2 to solve this.
You might have some trouble accessing your old resources from another region depending on your network setup. It’s hard to know without knowing what your existing infrastructure is.
Another option to get you up and running might be to create the Lambda functions through the serverless framework and the API Gateway manually for now. This way you can learn about API Gateway too. Once CloudFormation resolves the problem you can create HTTP events in the Serverless framework.
Cool, after I commented the event http part of config, it can now create successfully.
The reason why I choose serverless is that I feel it’s hard to use AWS GUI console, there is so many buttons and forms, and cannot use git to track changes. And serverless is text based, so I can save to git. It’s easier to track and find bugs.
Hope that the amazon can resolve the problem faster