AI Personal Learning
and practical guidance

Sealos Devbox Released: Deploying a Cloud Native Development Environment

The water droplets attacked the solar system using the most primitive form of attack: impact! And yet it is so efficient.

After we've messed around with a bunch of containers, orchestration, CI/CD, DevOps, and invented a bunch of terms that don't do much good, we end up realizing that all of these operations are just bells and whistles that get developers deeper and deeper in the hole.


Eventually you will realize a truth:It turns out that ten or twenty years ago changing code directly on the line was the most efficient way to do it! Don't refute it yet, watch me break it down.

Here on the line does not mean the production environment, but the development environment, all the environments are online, through the local IDE to link, and at the same time to achieve the development environment to the production environment of the security of synchronization, the process-oriented inefficiency of all things to cut out, directly oriented to the results, which is the most efficient way, there is no one.

Devbox is such an ultimate efficiency tool that puts you out of your misery.

 

Developer's pain

As a developer, do you suffer from the following problems:

  • Three minutes of coding and three hours of solving dependencies?
  • Painful to set up an environment?
  • Complicated database configuration for development dependencies?
  • It's tempting to write code, but thinking about all the other things that are messing with it triggers direct procrastination?
  • Lack of a suitable test environment?
  • Self-testing is fine when coupled with other members, and then debugging for days once docked?
  • Cumbersome on-line deployment process?
  • Configuring servers, domain certificates and other technical details a headache?
  • You don't know how to write a Dockerfile, you don't know anything about K8s, you don't want to write it, you don't want to compile it, you don't want to push it, and you don't want to go live after you push it.
  • CI/CD using 666, but pipeline, K8s yaml already written?

If you've experienced any of these problems, then Devbox is the solution for you.

Devbox completely and utterly helps you with everything except writing code (Yes, you heard me right. All of them.) Question!

There are two kinds of developers: those who know Docker (K8s) and those who don't.

But there is one thing that everyone has in common: theWant to get the benefits of containers, but really don't want to write Dockerfile and K8s yaml or care about that stuff.

Devbox can be done in such a way that all development is completely unconcerned, with an emphasis on "completely", that is to sayYou don't even know how to spell K8s and yet you get all the benefits of it!The most important thing is that you have to be able to get the best out of it. This 0 cost brings benefits, I'm sure you want to know what he is.

At the same time, Devbox can be used in conjunction with Cursor The perfect combination of Cursor for assisted coding and Devbox for all environment and dependency issues.

 

Look at the product first

Sealos Address:https://hzh.sealos.run

The first step is to create the development environment:

Here pick a runtime you want, such as various programming languages and programming frameworks, and open the network will automatically assign a second-level domain name for you to test.

The second step is to use the VS Code plugin or the Cursor plugin to work directly in your familiar IDE, and we'll support more IDE plugins in the future:

You can use the IDE plugin, or you can just open Code Server and write code in the browser. And then there's no more.

 

Used through IDE plug-ins

Clicking on the Cursor plugin on the web page for the first time will wake up the Cursor plugin page, and you can start using it after installing the plugin. This eliminates the need for developers to switch between the web and the IDE.

It is also possible to create projects on the plugin side (this feature is in the process of being implemented):

Then you can have fun writing code. You can see the network access information as well as the database information on the Terminal side.

 

Core Advantages of Devbox

Sealos cloud development has been online for a long time and has a very large number of customers. We have been operating for some time and summarized some of the limitations and advantages of cloud development:

Limitations:

  1. Development on the web is not a priority, developers are still used to local IDEs, and heavy users still choose plug-ins for development.
  2. It is not compatible with all programming languages and programming frameworks and is bound to cut.

Advantage:

  1. It does solve everything except writing code, which is written and ready to go live, as easy as posting a blog, and without having to think about the environment and dependencies.

So we tried to make a more generalized and efficient application to solve all the development problems.

Zero fragmentation from developers' existing development methods

Now there are a lot of similar products on the market, take byte Marscode as an example, after deep understanding of this product you will find that Marscode is very important to the Web IDE, spend heavy efforts in doing, but unfortunately, theGoing down the wrong path is the equivalent of competing with the extremely good VS Code and the full Jetbrains bucket, and it's a pain in the ass!Although Marscode also has a VS Code plugin, it's much weaker. Although Marscode also has a VS Code plugin, it's much weaker, almost only Copilot.

What Marscode does well: for example, it makes Templates for all kinds of things that developers need, and it can assign domain names to projects. Defects are also very obvious, you will find when you use it always feel a lot of meaning:

  1. What about my database? And the environment is in the cloud, even my local database is not well connected, the equivalent of giving a half-baked.
  2. I write code that eventually goes live, and then I go live and I'm faced with a whole lot of hassle with virtual machines and so on.
  3. How do I collaborate? How do teams develop together?

Devbox's approach:

  1. Heavy IDE plugin that lets you write code in exactly the same way as before.
  2. All your dependencies are put in the cloud, to solve all the dependency problems, so that three birds with one stone, to solve your development problems, to solve the development is completed to send a version of the problem to go online, to solve your collaboration with other members of the team.
  3. Package the environment as a whole and release it to run without you knowing anything about containers at all.

This is something that can only be perfected with a powerful cloud operating system called Sealos, otherwise it's always a close call.

Support for all major programming languages and frameworks

In terms of programming languages, all mainstream programming languages are fully supported, and other cold programming languages can be installed by yourself. Programming frameworks include Vue, React, Next.js, Gin, Spring, Django, etc. Click to use directly. Even we put the mainstream open source projects are packaged so that developers are free to build the development environment.

Automated Release and Deployment

The underlying mechanism of Devbox's releases is to build Docker images, but there's a very big feature of theThe user 100% is completely insensitive and only requires the user to fill in a version number information::

The average developer user is always a huge chasm away from cloud-native, is the process of containerization, now there are many tools to help users through the code to automatically generate Dockerfile and orchestration files, you will find that the success rate is always a problem, theBut any changes that need to be made require users to be familiar with Docker, and even if they are, I don't think you want to do that.The

Devbox first ensures that 100% can be built successfully, and also 100% allows the user to not care about the underlying layers.

Auto-Online

Because Docker images are built automatically, it's possible to completely synchronize to your online environment's workspace at the click of a button, completing the go-live, and making going live on all projects as easy as posting a blog.

Teamwork

Imagine a typical scenario: front and back end with the development, the development process are on their own computers, so the first set of APIs, and then develop their own development, development is complete and then go to the server to find the back-end deployed with the front-end tuning, which is very time-consuming and labor-intensive.

With Devbox you can do it all directly in the cloud and have a naturally interoperable development environment.

Simply pull all project members into a workspace and share.

Enterprises will be more complex, usually a project team of a dozen or even dozens of people, hundreds of microservices, then the cost of coordinating the environment to become a huge high incomparable, if they are all collaborating in the cloud, you can reduce the cost of this piece of collaboration to almost zero.

 

prices

Prices are not the same in different availability zones, in Hangzhou, for example, 2-core 4G 24-hour price of 2.67 yuan, to code 8 hours a day, five days a week, four weeks a month to calculate the cost of a month is:(2.67/24)*8*5*4 = $17.8/monthI'm a special forces programmer. Writing 8 hours a day is already a special forces programmer.

 

future planning

devbox aims to solve development problems step by step:

  • v1.0: solves all problems except writing code, as well as integrating Copilot Realization of partial autocoding.
  • v2.0: Introducing Copilot to assist debugging, because Devbox has a complete debugging environment, you can throw the error information to the AI for code debugging, and return the correct code, which can greatly reduce the cost of debugging developers.
  • v3.0The Devbot is an AI development assistant that can code and test on its own, submit PRs to code repositories, code and test entirely on its own in Sealos, and collaborate with you like one of your colleagues.

 

Q & A

Q:According to the price of your public cloud, is this development cost too high, and does it increase the cost to add another development environment when you only need a production environment?

A: Two situations :

  1. You're a personal user, then you can just use the development environment as production, as it usually doesn't need to be that rigorous.
  2. If you are an enterprise, enterprise application production costs are much greater than the cost of development, development costs are negligible, in addition to the value of R & D efficiency and collaboration efficiency to the enterprise is much higher than the cost of this point.

(not only ...) but alsoDevelopment environments can be turned off completely when not writing codeThe price of a day's code is only $0.89. According to our billing, you can write a day's worth of code for only $0.89.

Q: Can Devbox completely replace Sealos cloud development?

A:Yes, you can choose Node.js template when you create a project, and it's more flexible, no different from running Node.js in your virtual machine, and it has all the benefits of cloud development, except that it doesn't provide a Web IDE, firstly, we don't think that Web IDE is important and it's not separated from the existing habits of the developers, and secondly, if you really don't want to install the IDE, that's fine, Devbox provides a Code Server can be developed directly on the web.

 

🐙 GitHub address

https://github.com/labring/sealos

 

May not be reproduced without permission:Chief AI Sharing Circle " Sealos Devbox Released: Deploying a Cloud Native Development Environment

Chief AI Sharing Circle

Chief AI Sharing Circle specializes in AI learning, providing comprehensive AI learning content, AI tools and hands-on guidance. Our goal is to help users master AI technology and explore the unlimited potential of AI together through high-quality content and practical experience sharing. Whether you are an AI beginner or a senior expert, this is the ideal place for you to gain knowledge, improve your skills and realize innovation.

Contact Us
en_USEnglish