GithubHelp home page GithubHelp logo

rock's Introduction

Rock

Rock is a project to build an AMI built on Arch Linux that is suitable for Java and Clojure projects.

Building an AMI

AWS_PROFILE=<profile> make

The MIT License (MIT)

Copyright © 2018-2023 JUXT LTD.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

rock's People

Contributors

malcolmsparks avatar jcf avatar severeoverfl0w avatar

Stargazers

Justin Tirrell avatar Aleksander avatar Ngoc Truong avatar Dennis Dang avatar Mark Woodhall avatar Michael Dan Mossinsohn avatar Burin Choomnuan avatar

Watchers

Jon Pither avatar  avatar Jeremy Taylor avatar Stas Shusha avatar Rhishikesh avatar James Cloos avatar Mark Woodhall avatar Tim Greene avatar Oliver Hine avatar Burin Choomnuan avatar Dan Stone avatar Fraser Crossman avatar Michael Bruce avatar  avatar Carl Ntifo avatar JJ avatar Yuriy Zaytsev avatar Oliver Marshall avatar Dajanah avatar Robert Derbyshire avatar Hugo Young avatar Alex Davis avatar Peter Wilkins avatar Felix Alm avatar Finn Völkel avatar  avatar  avatar

rock's Issues

Disable root login over SSH

This is enabled in the default Arch AMI and hasn't been disabled by us.

Injecting an sshd_config will do the trick.

PermitRootLogin no

Probably also a good idea to double check password auth is disabled, maybe move off the default port of 22, and if this is running on a publicly-accessible box use something like fail2ban?

Maybe swap out log forwarder

systemd-cloud-watch looks a little bit broken, and although there's a fix in advantageous/systemd-cloud-watch#16, I'm not sure how long until that gets merged.

We have a couple of options:

  1. Wait for the PR to be merged;
  2. Change the systemd-cloud-watch package to pull from GitHub and use the fork with fixes;
  3. Switch to the shell script approach used in some other places.

In the meantime I've commented out starting up the log forwarding service in #4.

Write CodeDeploy logs to journald

According to CodeDeploy's docs, log output goes to a file on disk, which likely won't be log rotated.

/var/log/aws/codedeploy-agent/codedeploy-agent.log

If we can instead log to stdout, that'll go via journald and be forwarded anywhere we need etc.

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.