When you launch a new EC2 instance in the AWS cloud from the command line or with other cloud management platforms, you may get the error message: CloudExceptions::CloudException – 400: VPCIdNotSpecified: No default VPC for this user (RequestID: …) This can happen when the specified Subnet Id is not a valid subnet in the selected …
Author Archives: Laszlo Pinter
Start a new Spring MVC Java Web application development in NetBeans
When you create your first Spring MVC Java web application in the base installation of NetBeans follow the steps below Create a project In the File menu select New Project… Select the Java Web category, select the Web Application project, and click Next, Enter the name of the project and click Next, If this is …
Continue reading “Start a new Spring MVC Java Web application development in NetBeans”
Configure NetBeans for Java Web development
The base installation of NetBeans does not include the web development category. To add the Java web development tools to NetBeans Start the NetBeans IDE, In the Tools menu select Plugins, On the Available Plugins tab select the Java EE Base plugin and click the Install button, If any of the installed plugins is …
Continue reading “Configure NetBeans for Java Web development”
Create the AWS credentials file from a Chef Data Bag
When a process on a server instance needs access to an AWS account, the user who will execute the AWS CLI commands needs to be able to automatically authenticate in AWS. For automatic AWS authentication, the AWS CLI creates two files in the .aws directory: config and credentials. The location of this directory depends on the …
Continue reading “Create the AWS credentials file from a Chef Data Bag”
Soundproof Enclosure for the Monoprice Select Mini 3D Printer
The Monoprice Select Mini printer is an open design, all noise making parts are exposed, and as the stepper motors move the head and the platform, the vibration transfers to the table it is sitting on. There are a few sound proof enclosure designs on the internet, but I have found one that looks cool …
Continue reading “Soundproof Enclosure for the Monoprice Select Mini 3D Printer”
Debugging Chef Test Kitchen runs
If there is a configuration error in the Test Kitchen system, there are commands that can help you to get more information. Run the instance creation in debug mode kitchen create -l debug SUITE_NAME
Ruby Gem Management
Ruby gems are Ruby programs and libraries with a name, version and the platform that can execute them. List the installed gems on your system gem list Detailed list that includes the author, homepage, license, install location and a short description gem list -d Install the latest version of the gem gem install GEM_NAME Install a …
Bootstrap Chef nodes to connect them to the Chef server
A Chef node is a physical or virtual machine with an operating system that is connected to the Chef server. Once the node has made the connection to the Chef server, the installed Chef Client can execute Chef cookbooks to configure the machine. Bootstrapping is the process to connect the node the first time to …
Continue reading “Bootstrap Chef nodes to connect them to the Chef server”
Dynamically set Chef resource attributes
When you need to set a Chef resource attribute based on the current state of the environment, there is a way to dynamically provide the value. Set the value of a boolean variable with a test, Declare the Chef resource and assign a reference to it to a variable, Set the resource attribute based on …
How to create a bootable USB drive to install Windows
If the computer you want to install Microsoft WIndows on, does not have a DVD drive, you can install Windows from a USB drive. To start the computer from the USB drive, you need to prepare the drive to make it bootable. Microsoft has a free tool that can download the edition of the Windows …
Continue reading “How to create a bootable USB drive to install Windows”