Code Monkey home page Code Monkey logo

Comments (6)

bobveringa avatar bobveringa commented on August 26, 2024 1

Because most CDK constructs that use ec2 under the hood already allow for this functionality. This is already added to the CDK construct. But it is certainly good that people will be using this.

from basti.

BohdanPetryshyn avatar BohdanPetryshyn commented on August 26, 2024

@DrFunk-n-stein I thought of adding this configuration option before. Just like with #50, it will also be really natural to provide such a configuration in a CDK construct or a Terraform module.

Could you please describe your current Basti usage?

  1. How many sessions do you start a day?
  2. How many people can use Basti simultaneously?
  3. Do you use Basti only for RDS or do you have more data-intensive connection targets?
  4. Have you noticed Basti instance running close to its maximum capacity (CPU, RAM)?

from basti.

michael-kutsch avatar michael-kutsch commented on August 26, 2024

@BohdanPetryshyn yup, this will make a lot of sense in an IaC context. I was not referring to a performance issue, rather than compliance/cost saving requirements in bigger setups. I'm a SecDevOps consultant and am setting up also landing zones and cost saving measures, therefore I've seen such setups several times:
multi-account, several bastion hosts lying around, accumulating costs at scale.

Therefore, it could make sense to use different instance families (e.g. t3, t3a, t4g, or whatever someone is using)

from basti.

ACronje avatar ACronje commented on August 26, 2024

t2.micro is not available in my region (af-south-1) and so I am not able to use basti

here is the error I get:

Error setting up bastion. Can't create bastion EC2 instance. Unexpected error: The requested configuration is currently not supported. Please check the documentation for supported configurations.. This operation might have already created AWS resources. Please, run `basti cleanup` before retrying

It would be great if the instance type was configurable. I'd like to use t3.micro

from basti.

BohdanPetryshyn avatar BohdanPetryshyn commented on August 26, 2024

@ACronje, thank you for reporting this! I will introduce this configuration by the end of the next week when I return from my vacation.

from basti.

BohdanPetryshyn avatar BohdanPetryshyn commented on August 26, 2024

Hey @DrFunk-n-stein and @ACronje 👋

I'm happy to let you know that the ability to select the EC2 instance type was introduced in v1.4.0!

from basti.

Related Issues (20)

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.