
Now Select s3 as deploy provider as we will host our app on AWS s3. After successfully creating a building project, click next for the deploy stage. Now click on Continue to CodePipeline for creating the build project. Select the operating system: ubuntu, Runtime: Standard, Image: aws/codebuild/standard:1.0, Image Version: always use latest image for this runtime version, Provide a project name for your build project. A new window will open and you will provide details of your build project. Select your region and create new project for it. Now in Add Build Stage step, we have to provide which service we are using for creating a staging build, so we have selected AWS CodeBuild service which is a service for AWS, you can select Jenkins if you are using it. After selecting Github, click on the Connect to Github button and provide your repository with its production branch which is usually master for most of us and click next for the next step.
#Npm serverless codepipeline aws code#
In our case, we will select Github as we pushed our code to Github. In step 2 of pipeline creation, we have to provide our source control from where it will get our code to build and deploy to s3.

After setting the pipeline name, click next for the next step. aws codepipeline toolsįirst, we set up our pipeline name to ng-app-pipeline and select New Service Role for setup role service as it is our new brand pipeline. You'll see an orange button on the top right corner to create a new pipeline. Type code pipeline and click to that service and go to pipelines in the sidebar to create a new pipeline for our app. After creating your account you will see a dashboard console.


#Npm serverless codepipeline aws for free#
Here you can create your account for free tier which will be free for 365 days. But for this, you will need an AWS account so that you can access their services. Link to this section aws management consoleĪfter pushing your initial code on Github, we need to create a pipeline or an automated process that will be responsible for deploying our code to Amazon S3 from Github repo.
