How to use ec2 instance as personal dev box using intellij as IDE? - linux

I have searched the questions and have not found an answer to this one:
I am developing an existing project (git repo) that runs only on Linux. For the time being I have at my disposal only a windows laptop which I cannot modify. This laptop has Intellij installed and internet access. I cannot, for example, create a Linux VM on this laptop.
Is there a way I can put the project code on an Amazon ec2 Linux instance and build the project on that instance, while viewing and developing the code in Intellij? All compilation and code execution has to be done remotely, on the ec2 Linux instance. I cannot build locally and push from the windows laptop.
2 possible configurations might be:
(1) install intellij on the ec2 instance and x-window in from windows to view the intellij screens;
(2) use the intellij on the Windows laptop and somehow point the intellij to the ec2 instance in order to view, edit, build, and run the project on that instance.
Any ideas are greatly appreciated!

ec2 with enough memory for development is billed / hour. For 32gb RAM it's >$80/month (always online ~450h).
You could use wls 2 under windows. You can install IDEA and use it trough X server like
VcXsrv and access to windows files. It's not the best idea to run full GNOME (even xfce4). Google chrome also works very well
Downsides are:
(still) slow access to drive compared to raw Linux
I cannot configure WSL to access same VPN as in Windows. It simply cuts off internet connection for WSL while I click connect in windows.

Related

How can I mount an aws linux instance locally?

I work on a windows machine but I ssh into an AWS linux box to do most of my work. I'm trying to figure out a way I can use my local tools (specifically Spyder) to open up files (python files) from the server so I can edit them in the IDE and then run them on the server. (Note: its not just for code, I also want to be able to open csv's I generate, etc...).
Many modern IDE's provide this option through SSH, looking at the documentation for Spyder, it seems to refer to this configuration as a 'remote kernel'.
I do not use Spyder, but I use a similar configuration to do development with Visual Studio Code on my laptop with remote execution over SSH to an EC2 instance. In VS Code it is referred to as Remote SSH, you open a folder on the remote server as your VS Code workspace.

How do I run Internet Explorer on a Windows computer from a Linux VM based on the same computer?

I'm working on a Linux virtual machine on a Windows computer and doing tests on a website using RobotFramework. I would like to open the Internet Explorer browser on this windows computer from my Linux RobotFramework script.
Do you know a way to do this? Thank you.
Previously, I already tried to use Grid Selenium but that did not suit me because the option "timeout" of "open browser" did not work under ExetendedSelenium2library.
The Internet Explorer on your Windows machine hosting the Linux VM is a Windows-compatible binary, so cannot be executed natively under Linux. You can execute Windows-compatible binaries via Wine however, but compatibility is not very good. It's much more common to run Windows in a virtual machine in order to run Internet Explorer, not the other way around.

Need a better way to put Talend Studio on GCE Linux Desktop

Over the last few days I got vnc to a GCE Linux vm working. Moral of the story: forget gnome, go with xfce.
Got Google Chrome installed from command line. I'm attempting to install Talend Open Studio on the vm, but navigating the website is miserable via vnc.
Has anyone figured a way to apt-get install TalendStudio? I don't think it exists so looking for the closest to it.
You can browse and download TOS to the physical machine as where the VM resides . Then, you could use SCP / SFTP to transfer the TOS file to the VM .
Some VM packages allow sharing a folder between the physical machine and VMs. That would also allow easy transfer of the file to the VM.

Setting up Rsync to pull from Windows to Linux Box using cwrsync

I have a set of machines, a mixture of Linux and Windows Boxes.
I hav set up rsync to pull from the Linux Machines to a Linux Server box.
I am trying to accomplish the same using cwRsync, to pull to the Linux box from the windows machines. I have downloaded the free version from https://www.itefix.no/i2/content/cwrsync-free-edition and also I have downloaded CopSSH. I have managed to install CopSSH fine and I am able to SSH between the Linux and Windows hosts no problem using keys rather than passwords.
However, for the life of me I can't get this cwRsync working, I've googled the matter to death, and your meant to unzip the directory, configure the environment settings in the batch file then install it. However, there is nothing to install it with! and the reason it isn't working is because it needs to install a windows service for it to run.
Any help would be much appreciated!
As described at itefix web page for the free edition, it allows to initiate rsync from your Windows machine, i.e. client functionality only (push data). Server functionality allowing you to set up an rsync server on Windows to pull data from it is not a part of the free edition.

Effiecient Windows to Linux desktop sharing solution that support multiple screens

I am looking for an efficient Windows to Linux desktop sharing software that support multiple screen.
As of now my team develops (mustly Scala) code on our local windows machines (laptops).
For various reasons the data we are working on can't usually be copied to our local machines.
Currently we quite frequently need to exports our code/jars to a different environment that is also connected to an Hadoop cluster containing the data.
We are looking for a desktop sharing solution that will enable us to develop and execute code on remote, strong, stable Linux machines, that are connected via broadband connection to our data clusters.
Its crucial for us that the solution above will be able to run remote GUI based developing tools such as IntelliJ on the Linux machines and display them on our local Windows machine multiple screens smoothly.
Any recommendation?
Thanks in advance,
Mishael
One of the options is to use Cygwin - this will allow you to run UI applications from a remote server on your Windows environment
In order to that you should do the following:
A. On Windows side:
Download and install Cygwin/X from : http://x.cygwin.com/
In the Cygwin/X installer make sure the following packages are chosen:
xorg-server (required, the Cygwin/X X Server)
xinit (required, scripts for starting the X server: xinit, startx,
startwin)
X-start-menu-icons (optional, adds icons for X Clients to the Start menu)
xorg-docs (optional, man pages)
font-bh-ttf
font-bitstream-vera-ttf
Setup X Launcher
Create a new shortcut on your desktop which points to the following (assume your cygwin was installed in c:\software):
C:\software\cygwin\bin\run.exe C:\software\cygwin\bin\XWin.exe -multiwindow -clipboard -ac
Double click the shortcut you just created :) this will start small icon on the left side of windows taskbar.
B. On Linux side
login to your remote server for the same windows machine (use any terminal - e.g Putty)
set the DISPLAY parameter your server:
export DISPLAY=<windows-host-name>:0.0
now you can run any application that requires GUI and it will open up on your windows machine
:)

Resources