Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

297
Visualizações
Deployment options using Amazon Lightsail?

We're looking to host a number of small projects on Amazon Lightsail. For larger projects we use Codepipeline to manage deployments from github.

Is there a similar option available to push deployments from github to a lightsail instance for deployments. I've had a look around and pipeline does not seem to work.

Is it possible to use AWS CodePipeline with Lightsail?

Are there any good deployment options for lightsail or should we look at something more basic such as

https://github.com/markomarkovic/simple-php-git-deploy

Many thanks for the advice!

over 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

I recently had the same challenge and got it working.

It is possible to use CodePipeline for fetching the source code and building the application with CodeBuild. The deployment of the application can be done with CodeDeploy.

For CodeDeploy, it is necessary to register the Lightsail Instance as an on-premise instance. On the instance itself the CodeDeploy agent needs to be installed and configured.

I have written a post about how to set this up on my blog.

over 4 years ago · Santiago Trujillo Relatório

0

This documentation page by Mike Coleman takes us on Using AWS CodeDeploy and AWS CodePipeline to Deploy Applications to Amazon Lightsail. It’s basically a guide of the process of setting up a deployment pipeline and what you're looking for.

After ensuring you have specific prerequesites in place (AWS account, GitHub account, git installed locally and AWS CLI installed and configured locally) you'll then go through the following 10 steps

  1. Create a service role.
  2. Create an S3 bucket.
  3. Create an IAM policy.
  4. Create an IAM user.
  5. Create a Lightsail instance and install the CodeDeploy agent.
  6. Verify the CodeDeploy agent.
  7. Setup the application in CodeDeploy.
  8. Fork the GitHub Repo.
  9. Setup CodePipeline.
  10. Test and Update the Application.

If that comes in handy, I've written a blog post on that and gone through a couple of Q&As along the way that aren't addressed in the documentation.

over 4 years ago · Santiago Trujillo Relatório

0

Old question, but maybe someone stumbles upon this and finds this useful - although might not be applicable if you need the pipeline to be inside AWS; but the solution that worked for me was

DeployHQ

It is quite easy to set up with using Github webhooks and deploy to Lightsail. There are couple of similar options out there, but DeployHQ was a winner for me for the clean dashboard and it fitted nicely to all the requitements (commands during build, webhooks, connects to multiple servers, free for low number of deployments per day).

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda