Giter Site home page Giter Site logo

donnieprakoso / copilot.rocks Goto Github PK

View Code? Open in Web Editor NEW
25.0 3.0 23.0 495 KB

This repo holds all content for https://copilot.rocks — including the documentation and workshops.

License: Apache License 2.0

Dockerfile 6.08% Python 80.82% HTML 13.10%

copilot.rocks's Introduction

Welcome to Copilot.Rocks 🤘🏻

This repo is the main repository for copilot.rocks. Copilot.rocks is a cookbook to develop, build, and operate applications using AWS Copilot.

This repo holds 2 main materials: 1) source code and 2) the docs itself. The source code can be found under codes/ directory and the docs in cookbook/ folder.

Why cookbook?

The AWS Copilot documentation page already done a great job describing how to get started with AWS Copilot. Copilot.rocks aim for developers who want to understand few tips and tricks, as well as implementing more advanced patterns (such as Pub/Sub, Saga pattern, continuous delivery).

This content of Copilot.rocks is structured in modular ways — called as workshop —  so readers don't need to sequentially follow all the workshops, and can just pick and implement based on their needs. Here

How to contribute?

If you found a bug, please file an issue. If you have something to improve Copilot.rocks, please file a PR.

copilot.rocks's People

Contributors

donnieprakoso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

copilot.rocks's Issues

Manifest file for service discovery-enabled service

Hey @donnieprakoso, I stumbled across your tutorial about deploying apps on ECS using copilot, great stuff!

I was wondering if you could provide the manifest file for app2 from this step of the article, as I'm facing problems setting up service discovery between 2 of my services (a Flask one and a Postgres one).

I did create the service using the wizard, but the resulting manifest file looks like this (after I've added my env variables):

name: pgvector
type: Backend Service

image:
  location: ankane/pgvector

cpu: 256       # Number of CPU units for the task.
memory: 512    # Amount of memory in MiB used by the task.
count: 1       # Number of tasks that should be running in your service.
exec: true     # Enable running commands in your container.

# \/ ADDED BY ME \/
network:
  connect: true

variables:
  POSTGRES_USER: ...
  POSTGRES_PASSWORD: ...
  POSTGRES_DB: ...

The connect: true was added by me, as I've found in the copilot docs.
However, when I run copilot svc show, I do not get the service discovery section as you did in this step.

Have a great weekend,
Gabriel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.